public function TemporaryArrayObjectThrowingExceptions::getArrayCopy in Drupal 10
Exports the \ArrayObject to an array.
Return value
array Returns a copy of the array.
Throws
\Exception This class does not support this action but it must implement it, because it is extending \ArrayObject.
File
- core/
modules/ jsonapi/ src/ Normalizer/ Value/ TemporaryArrayObjectThrowingExceptions.php, line 85
Class
- TemporaryArrayObjectThrowingExceptions
- An \ArrayObject that throws an exception when used as an ArrayObject.
Namespace
Drupal\jsonapi\Normalizer\ValueCode
public function getArrayCopy() : array {
throw new \Exception('This ' . __CLASS__ . ' does not support this action but it must implement it, because it is extending \\ArrayObject.');
}