MagicCloneClass.php in Plug 7
Namespace
Doctrine\Tests\Common\ProxyFile
lib/doctrine/common/tests/Doctrine/Tests/Common/Proxy/MagicCloneClass.phpView source
<?php
namespace Doctrine\Tests\Common\Proxy;
/**
* Test asset class
*/
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';
}
}
Classes
Name | Description |
---|---|
MagicCloneClass | Test asset class |