public function ArrayWrapper::__construct in RESTful 7.2
Constructs a PluginWrapper object.
Parameters
array $data: The array to wrap
File
- src/
Plugin/ resource/ DataInterpreter/ ArrayWrapper.php, line 25 - Contains \Drupal\restful\Plugin\resource\DataInterpreter\ArrayWrapper.
Class
Namespace
Drupal\restful\Plugin\resource\DataInterpreterCode
public function __construct(array $data) {
$this->data = $data;
}