view vendor/myclabs/deep-copy/fixtures/f006/B.php @ 19:fa3358dc1485 tip

Add ndrum files
author Chris Cannam
date Wed, 28 Aug 2019 13:14:47 +0100
parents 1fec387a4317
children
line wrap: on
line source
<?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;
    }
}