for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace drupol\valuewrapper\Type;
/**
* Class ArrayType
*/
class ArrayType extends TypeValue
{
* {@inheritdoc}
public function hash(): string
if ($string = \json_encode($this->value)) {
return $this->doHash($this->getType() . $string);
}
throw new \Exception('Unable to encode the value.');