TplBlock/vendor/myclabs/deep-copy/fixtures/f006/B.php

27 lines
341 B
PHP
Raw Normal View History

2018-03-26 21:57:35 +02:00
<?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;
}
}