src/ActiveDoctrine/Repository/AbstractRepository.php
/**
     * Create a new Entity.
     *
     * @return Entity
     */
Create a new Entity.
@return Entity
Create a new Entity . @return Entity
public function create()
    {
        $class = $this->entity_class;
        return new $class($this->conn);
    }
public function create ( ) { $ class = $ this -> entity_class ; return new $ class ( $ this -> conn ) ; }
Create a new Entity.
Create a new Entity .