FOF30\Model\DataModel\RelationManager::__get PHP Method

__get() public method

Magic method to get the data of a relation using shorthand notation, e.g. $manager->phone instead of $manager->getData('phone')
public __get ( $name ) : Collection
$name
return Collection
    function __get($name)
    {
        return $this->getData($name);
    }