You are here

class MagicCloneClass in Plug 7

Test asset class

Hierarchy

Expanded class hierarchy of MagicCloneClass

File

lib/doctrine/common/tests/Doctrine/Tests/Common/Proxy/MagicCloneClass.php, line 8

Namespace

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

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

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

  /**
   * @var boolean
   */
  public $cloned = false;

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

  /**
   * @return void
   */
  public function __clone() {
    $this->clonedValue = 'newClonedValue';
  }

}

Members