FactoryGirl\Provider\Doctrine\ORM\QueryBuilder::init PHP Méthode

init() public méthode

Prepopulates with entity if both entity name and alias are set.
public init ( )
    public function init()
    {
        if (is_string($this->entityName) && is_string($this->entityAlias)) {
            $this->select($this->entityAlias)->from($this->entityName, $this->entityAlias);
        }
    }