Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
2 / 2
Amf\Proxy
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
2 / 2
 __construct
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
2 / 2
<?php
/**
 * AMF (http://amf.artera.it/).
 *
 * @link      http://amf.artera.it
 *
 * @copyright Copyright (c) 2012-2013 Artera
 * @license   http://amf.artera.it/LICENSE.txt MIT License
 */
namespace Amf;
/**
 * Proxy class.
 *
 * This class can be used to proxy function calls and property access to
 * a given object.
 * By extending this class you can implement alternative method
 * implementation and accessors/mutators to the proxied object.
 *
 * @author  Massimiliano Torromeo
 */
class Proxy
{
    use Proxy\Proxiable;
    /**
     * Constructor.
     *
     * The class needs the object to be proxied when being initialized.
     *
     * @param mixed $object
     */
    public function __construct($object)
    {
        $this->object = $object;
    }
}