public function ExplorableDecoratorInterface::isInstanceOf in RESTful 7.2
Checks if the decorated object is an instance of something.
Parameters
string $class: Class or interface to check the instance.
Return value
bool TRUE if the decorated object is an instace of the $class. FALSE otherwise.
3 methods override ExplorableDecoratorInterface::isInstanceOf()
- CacheDecoratedDataProvider::isInstanceOf in src/
Plugin/ resource/ DataProvider/ CacheDecoratedDataProvider.php - Checks if the decorated object is an instance of something.
- ResourceDecoratorBase::isInstanceOf in src/
Plugin/ resource/ Decorators/ ResourceDecoratorBase.php - Checks if the decorated object is an instance of something.
- ResourceFieldResource::isInstanceOf in src/
Plugin/ resource/ Field/ ResourceFieldResource.php - Checks if the decorated object is an instance of something.
File
- src/
Util/ ExplorableDecoratorInterface.php, line 27 - Contains \Drupal\restful\Util\ExplorableDecoratorInterface.
Class
- ExplorableDecoratorInterface
- Class ExplorableDecorator.
Namespace
Drupal\restful\UtilCode
public function isInstanceOf($class);