lithium\data\model\Relationship::__call()

public method

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

mixed

Returns the value of the given configuration item.

Source

	public function __call($name, $args = []) {
		return $this->data($name);
	}