For example ->addEntityAlias('user', 'Project\Bundle\Module\Entity\User')
would allow ->getRepository('user')
public addEntityAlias ( string $alias, string $namespace ) | ||
$alias | string | |
$namespace | string |
public addEntityAlias ( string $alias, string $namespace ) | ||
$alias | string | |
$namespace | string |