Eloquent\Phony\Mock\Method\WrappedTraitMethod::__construct PHP Method

__construct() public method

Construct a new wrapped trait method.
public __construct ( ReflectionMethod $callTraitMethod, string $traitName, ReflectionMethod $method, Eloquent\Phony\Mock\Handle\Handle $handle )
$callTraitMethod ReflectionMethod The _callTrait() method.
$traitName string The trait name.
$method ReflectionMethod The method.
$handle Eloquent\Phony\Mock\Handle\Handle The handle.
    public function __construct(ReflectionMethod $callTraitMethod, $traitName, ReflectionMethod $method, Handle $handle)
    {
        $this->callTraitMethod = $callTraitMethod;
        $this->traitName = $traitName;
        parent::__construct($method, $handle);
    }