public function ArrayDeprecationWrapper::__construct in Entity Construction Kit (ECK) 8
ArrayDeprecationWrapper constructor.
Parameters
array $wrappedArray: The array being deprecated.
$deprecationWarning: The warning that should be raised when it is accessed.
File
- src/
ArrayDeprecationWrapper.php, line 36
Class
- ArrayDeprecationWrapper
- Class ArrayDeprecationWrapper
Namespace
Drupal\eckCode
public function __construct(array &$wrappedArray, $deprecationWarning) {
$this->wrappedArray = $wrappedArray;
$this->deprecationWarning = $deprecationWarning;
}