You are here

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

ArrayWrapper

Namespace

Drupal\restful\Plugin\resource\DataInterpreter

Code

public function __construct(array $data) {
  $this->data = $data;
}