ResourceDecoratorInterface.php in RESTful 7.2
File
src/Plugin/resource/Decorators/ResourceDecoratorInterface.phpView source
<?php
/**
* @file
* Contains \Drupal\restful\Plugin\resource\Decorators\ResourceDecoratorInterface.
*/
namespace Drupal\restful\Plugin\resource\Decorators;
use Drupal\restful\Plugin\resource\ResourceInterface;
interface ResourceDecoratorInterface extends ResourceInterface {
/**
* Gets the decorated resource.
*
* @return ResourceInterface
* The underlying resource.
*/
public function getDecoratedResource();
/**
* Gets the primary resource, the one that is not a decorator.
*
* @return ResourceInterface
* The resource.
*/
public function getPrimaryResource();
}
Interfaces
Name | Description |
---|---|
ResourceDecoratorInterface |