src/ActiveDoctrine/Entity/Entity.php
/**
     * Query the database for a one to one relationship.
     *
     * @param string $foreign_class  The class name of the related entity
     * @param string $foreign_column The name of the column on the other table
     * @param string $column         The name of column on this table
     */
Query the database for a one to one relationship.
@param string $foreign_class  The class name of the related entity
@param string $foreign_column The name of the column on the other table
@param string $column         The name of column on this table
Query the database for a one to one relationship . @param string $foreign_class The class name of the related entity @param string $foreign_column The name of the column on the other table @param string $column The name of column on this table
protected function fetchOneToOne($foreign_class, $foreign_column, $column)
    {
        return $foreign_class::selectOne($this->connection)
            ->where($foreign_column, '=', $this->getRaw($column))
            ->execute();
    }
protected function fetchOneToOne ( $ foreign_class , $ foreign_column , $ column ) { return $ foreign_class :: selectOne ( $ this -> connection ) -> where ( $ foreign_column , '=' , $ this -> getRaw ( $ column ) ) -> execute ( ) ; }
Query the database for a one to one relationship.
Query the database for a one to one relationship .