lithium\data\model\Relationship::__call()
Allows relationship configuration items to be queried by name as methods.
Parameters
-
string
$name
The name of the configuration item to query.
-
array
$args
Unused.
Returns
mixedReturns the value of the given configuration item.
Source
public function __call($name, $args = []) {
return $this->data($name);
}