Bluz\Controller\Reflection::__set_state PHP Метод

__set_state() публичный статический Метод

Set state required for working with var_export (used inside PHP File cache)
public static __set_state ( $array ) : Reflection
$array
Результат Reflection
    public static function __set_state($array)
    {
        $instance = new Reflection($array['file']);
        foreach ($array as $key => $value) {
            $instance->{$key} = $value;
        }
        return $instance;
    }