for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace drupol\valuewrapper\Object;
/**
* Class DateTimeObject
*/
class DateTimeObject extends ObjectValue
{
* DateTimeObject constructor.
*
* @param \DateTime $value
public function __construct(\DateTime $value)
parent::__construct($value);
}
* {@inheritdoc}
public function hash(): string
return $this->doHash($this->get()->getTimestamp());