27 lines
341 B
PHP
27 lines
341 B
PHP
|
<?php
|
||
|
|
||
|
namespace DeepCopy\f006;
|
||
|
|
||
|
class A
|
||
|
{
|
||
|
public $cloned = false;
|
||
|
private $aProp;
|
||
|
|
||
|
public function getAProp()
|
||
|
{
|
||
|
return $this->aProp;
|
||
|
}
|
||
|
|
||
|
public function setAProp($prop)
|
||
|
{
|
||
|
$this->aProp = $prop;
|
||
|
|
||
|
return $this;
|
||
|
}
|
||
|
|
||
|
public function __clone()
|
||
|
{
|
||
|
$this->cloned = true;
|
||
|
}
|
||
|
}
|