public getData ( string $name, callable $callback = null, |
||
$name | string | The name of the relation to return data for |
$callback | callable | A callback to customise the returned data |
$dataCollection | Used when fetching the data of an eager loaded relation | |
Результат |