You are here

class MagicCloneClass in Zircon Profile 8

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

Test asset class

Hierarchy

Expanded class hierarchy of MagicCloneClass

File

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