src/ActiveDoctrine/Entity/EntitySelector.php
/**
     * Return a single Entity instead of an EntityCollection when this
     * query is executed. A limit of 1 will be applied to the
     * underlying SQL query. If the limit on the query is modified and
     * it returns more than one result, the first will be returned.
     */
Return a single Entity instead of an EntityCollection when this
query is executed. A limit of 1 will be applied to the
underlying SQL query. If the limit on the query is modified and
it returns more than one result, the first will be returned.
Return a single Entity instead of an EntityCollection when this query is executed . A limit of 1 will be applied to the underlying SQL query . If the limit on the query is modified and it returns more than one result the first will be returned .
public function one()
    {
        $this->limit(1);
        $this->single = true;
        return $this;
    }
public function one ( ) { $ this -> limit ( 1 ) ; $ this -> single = true ; return $ this ; }
Return a single Entity instead of an EntityCollection when this
 query is executed.
Return a single Entity instead of an EntityCollection when this query is executed .