protected getResourceLocationUrl ( mixed $resource ) : string | ||
$resource | mixed | |
Результат | string |
/** * @inheritdoc */ protected function getResourceLocationUrl($resource) { if ($resource instanceof ModelsDataInterface) { $resource = $resource->getPaginatedData(); } if ($resource instanceof PaginatedDataInterface) { $resource = $resource->getData(); } return parent::getResourceLocationUrl($resource); }