dateTimeObject->getTimestamp(); case 'iso': return $this->dateTimeObject->format('c'); case 'timezone': return $this->dateTimeObject->format('e'); case 'full': return $this->dateTimeObject; case 'accessTime': return $this->dateTimeObject->getTimestamp() - ($this->dateTimeObject->getTimestamp() % 60); } throw new AspectPropertyNotFoundException('Property "' . $name . '" not found in Aspect "' . __CLASS__ . '".', 1527778767); } /** * Return the full date time object */ public function getDateTime(): \DateTimeImmutable { return $this->dateTimeObject; } }