for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace HelloWordPl\SimpleEntityGeneratorBundle\Lib\Items;
/**
* Getter Method Manager For Interface
*
* @author Sławomir Kania <[email protected]>
*/
class MethodGetterInterfaceManager extends MethodManager
{
* Return prepared method name from property eg. getNameOrSurname
* @return string
public function getPreparedName()
return sprintf("get%s", parent::getPreparedName());
}
* Return set of tags used in template
* @return array
public function getTemplateTags()
return [
self::TAG_COMMENT,
self::TAG_PROPERTY_TYPE,
self::TAG_METHOD_NAME,
];