public function __construct($function = null, array $arguments = null, adapter\call\decorator $decorator = null) { if ($function !== null) { $this->setFunction($function); } $this->arguments = $arguments; $this->setDecorator($decorator); }