Created
November 24, 2016 08:22
-
-
Save likai24/267b18b5e799905603fd87651be151f3 to your computer and use it in GitHub Desktop.
Template to generate the Repository
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace $ns\\$bundle\Entity; | |
use Doctrine\ORM\EntityRepository; | |
use $ns\\$bundle\Entity\AdvBaseRepository; | |
/** | |
* ${entity}Repository | |
* | |
* This class was generated by the Doctrine ORM. Add your own custom | |
* repository methods below. | |
*/ | |
class ${entity}Repository extends BaseRepository | |
{ | |
protected \$bundleName = \"${ns}${bundle}\"; | |
protected \$entityName = \"${entity}\"; | |
protected \$alias = \"${entity_lc}\"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment