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