public function isSatisfiedBy(SpecificationAwareInterface $entity) { $currentDay = new DateTimeImmutable(); $today = $currentDay->setTime(0, 0, 0); return $entity->getDueDate() >= $today; }
public function isSatisfiedBy(SpecificationAwareInterface $entity) { $currentDay = new DateTimeImmutable(); $today = $currentDay->setTime(0, 0, 0); return $entity->getDueDate() >= $today; }