FOF30\Model\Model::getClone PHP Method

getClone() public method

Clones the model object and returns the clone
public getClone ( )
    public function getClone()
    {
        $clone = clone $this;
        return $clone;
    }

Usage Example

Example #1
0
 public function getClone()
 {
     $this->methodCounter['getClone']++;
     return parent::getClone();
 }