public function getParentRepository()
    {
        if (null == $this->parentRepository) {
            $this->setParentRepository(
                Orm::getRepository($this->getParentEntity())
            );
        }
        return $this->parentRepository;
    }
public function getParentRepository()
    {
        if (null == $this->parentRepository) {
            $this->setParentRepository(
                Orm::getRepository($this->getParentEntity())
            );
        }
        return $this->parentRepository;
    }
public function getParentRepository ( ) { if ( null == $ this -> parentRepository ) { $ this -> setParentRepository ( Orm :: getRepository ( $ this -> getParentEntity ( ) ) ) ; } return $ this -> parentRepository ; }
Gets parent entity repository

@return \Slick\Orm\Repository\EntityRepository
Gets parent entity repository