merge from yiisoft/yii2

This commit is contained in:
cuileon
2018-11-14 11:57:32 +08:00
parent 47df8a8cc0
commit 489dd119a5
426 changed files with 18465 additions and 4215 deletions

View File

@@ -49,4 +49,16 @@ namespace yii\helpers;
*/
class UnsetArrayValue
{
/**
* Restores class state after using `var_export()`.
*
* @param array $state
* @return UnsetArrayValue
* @see var_export()
* @since 2.0.16
*/
public static function __set_state($state)
{
return new self();
}
}