You are here

class MagicWakeupClass in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/Proxy/MagicWakeupClass.php \Doctrine\Tests\Common\Proxy\MagicWakeupClass

Test asset class

Hierarchy

Expanded class hierarchy of MagicWakeupClass

File

vendor/doctrine/common/tests/Doctrine/Tests/Common/Proxy/MagicWakeupClass.php, line 8

Namespace

Doctrine\Tests\Common\Proxy
View source
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';
  }

}

Members