mageekguy\atoum\php\call::__construct PHP Method

__construct() public method

public __construct ( $function, array $arguments = null, $object = null )
$arguments array
    public function __construct($function, array $arguments = null, $object = null)
    {
        $this->function = (string) $function;
        $this->arguments = $arguments;
        $this->object = $object;
        $this->setDecorator();
    }

Usage Example

Esempio n. 1
0
 public function __construct(asserters\mock $mockAsserter, test\adapter $adapter, $function)
 {
     $this->mockAsserter = $mockAsserter;
     $this->adapter = $adapter;
     parent::__construct($function);
 }
All Usage Examples Of mageekguy\atoum\php\call::__construct