public function __construct($function, array $arguments = null, $object = null) { $this->function = (string) $function; $this->arguments = $arguments; $this->object = $object; $this->setDecorator(); }
public function __construct(asserters\mock $mockAsserter, test\adapter $adapter, $function) { $this->mockAsserter = $mockAsserter; $this->adapter = $adapter; parent::__construct($function); }