src/ActiveDoctrine/Repository/AbstractRepository.php
/**
     * Find a single entity by primary key.
     *
     * @param  mixed       $primary_key The primary key
     * @return Entity|null The entity, or null if not found
     */
Find a single entity by primary key.
@param  mixed       $primary_key The primary key
@return Entity|null The entity, or null if not found
Find a single entity by primary key . @param mixed $primary_key The primary key @return Entity|null The entity or null if not found
public function find($primary_key)
    {
        $class = $this->entity_class;
        return $class::selectPrimaryKey($this->conn, $primary_key);
    }
public function find ( $ primary_key ) { $ class = $ this -> entity_class ; return $ class :: selectPrimaryKey ( $ this -> conn , $ primary_key ) ; }
Find a single entity by primary key.
Find a single entity by primary key .