public static function SetStateClass::__set_state

File

drupal/core/vendor/doctrine/common/tests/Doctrine/Tests/Common/Cache/PhpFileCacheTest.php, line 144

Class

SetStateClass

Namespace

Doctrine\Tests\Common\Cache

Code

public static function __set_state($data) {
  self::$values = $data;
  return new self($data['value']);
}