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

27 lines
341 B
PHP
Raw Normal View History

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