You are here

class MagicSleepClass in Zircon Profile 8.0

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

Test asset class

Hierarchy

Expanded class hierarchy of MagicSleepClass

File

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

Namespace

Doctrine\Tests\Common\Proxy
View source
class MagicSleepClass {

  /**
   * @var string
   */
  public $id = 'id';

  /**
   * @var string
   */
  public $publicField = 'publicField';

  /**
   * @var string
   */
  public $serializedField = 'defaultValue';

  /**
   * @var string
   */
  public $nonSerializedField = 'defaultValue';

  /**
   * @return array
   */
  public function __sleep() {
    return array(
      'serializedField',
    );
  }

}

Members