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