FactoryGirl\Provider\Doctrine\ORM\QueryBuilder::init PHP Method

init() public method

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);
        }
    }