Library/Bullhorn/FastRest/Api/Models/Base.php
public function getRelationship($alias) {
        if(array_key_exists($alias, $this->getCustomParentRelationships())) {
            return $this->getCustomParentRelationships()[$alias];
        } else {
            return $this->getModelsManager()->getRelationByAlias(get_class($this), $alias);
        }
    }
public function getRelationship($alias) {
        if(array_key_exists($alias, $this->getCustomParentRelationships())) {
            return $this->getCustomParentRelationships()[$alias];
        } else {
            return $this->getModelsManager()->getRelationByAlias(get_class($this), $alias);
        }
    }
public function getRelationship ( $ alias ) { if ( array_key_exists ( $ alias , $ this -> getCustomParentRelationships ( ) ) ) { return $ this -> getCustomParentRelationships ( ) [ $ alias ] ; } else { return $ this -> getModelsManager ( ) -> getRelationByAlias ( get_class ( $ this ) , $ alias ) ; } }
Finds a relationship

@param string $alias

@return Model\Relation|false
Finds a relationship