the whole shebang
This commit is contained in:
32
vendor/doctrine/common/tests/Doctrine/Tests/Common/Proxy/MagicWakeupClass.php
vendored
Normal file
32
vendor/doctrine/common/tests/Doctrine/Tests/Common/Proxy/MagicWakeupClass.php
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
namespace Doctrine\Tests\Common\Proxy;
|
||||
|
||||
/**
|
||||
* Test asset class
|
||||
*/
|
||||
class MagicWakeupClass
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $id = 'id';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $publicField = 'publicField';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $wakeupValue = 'defaultValue';
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function __wakeup()
|
||||
{
|
||||
$this->wakeupValue = 'newWakeupValue';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user