You are here

class MagicSleepClass in Plug 7

Test asset class

Hierarchy

Expanded class hierarchy of MagicSleepClass

File

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