You are here

MagicWakeupClass.php in Plug 7

File

lib/doctrine/common/tests/Doctrine/Tests/Common/Proxy/MagicWakeupClass.php
View source
<?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';
  }

}

Classes

Namesort descending Description
MagicWakeupClass Test asset class