/** * @Given the time is :arg1::arg2 */ public function theTimeIs($arg1, $arg2) { $this->clock->getTime()->willReturn(new \DateTimeImmutable('@' . mktime($arg1, $arg2))); }