You are here

public static function SetStateClass::__set_state in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/PhpFileCacheTest.php \Doctrine\Tests\Common\Cache\SetStateClass::__set_state()

File

vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/PhpFileCacheTest.php, line 123

Class

SetStateClass

Namespace

Doctrine\Tests\Common\Cache

Code

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