You are here

class MagicWakeupClass in Plug 7

Test asset class

Hierarchy

Expanded class hierarchy of MagicWakeupClass

File

lib/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