You are here

MagicSleepClass.php in Plug 7

File

lib/doctrine/common/tests/Doctrine/Tests/Common/Proxy/MagicSleepClass.php
View source
<?php

namespace Doctrine\Tests\Common\Proxy;


/**
 * Test asset class
 */
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',
    );
  }

}

Classes

Namesort descending Description
MagicSleepClass Test asset class