Library/Bullhorn/FastRest/Api/Models/Base.php
public function getRelated($alias, $arguments = null) {
        $relationship = $this->getRelationship($alias);
        if(($relationship === false || $relationship instanceof CustomRelationship) && method_exists($this, "get" . ucfirst($alias))) {
            return call_user_func(array($this, "get" . ucfirst($alias)));
        }
        return parent::getRelated($alias, $arguments);
    }
public function getRelated($alias, $arguments = null) {
        $relationship = $this->getRelationship($alias);
        if(($relationship === false || $relationship instanceof CustomRelationship) && method_exists($this, "get" . ucfirst($alias))) {
            return call_user_func(array($this, "get" . ucfirst($alias)));
        }
        return parent::getRelated($alias, $arguments);
    }
public function getRelated ( $ alias , $ arguments = null ) { $ relationship = $ this -> getRelationship ( $ alias ) ; if ( ( $ relationship === false || $ relationship instanceof CustomRelationship ) && method_exists ( $ this , "get" . ucfirst ( $ alias ) ) ) { return call_user_func ( array ( $ this , "get" . ucfirst ( $ alias ) ) ) ; } return parent :: getRelated ( $ alias , $ arguments ) ; }
Gets related entities.

@param String $alias
@param null $arguments

@return ResultSet
Gets related entities .