getResourceLocationUrl() защищенный Метод

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