for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Adlogix\EventScheduler\TemporalExpression\Collection;
use DateTimeInterface;
/**
* @author Toni Van de Voorde <[email protected]>
*/
final class Union extends AbstractCollection
{
* {@inheritdoc}
public function includes(DateTimeInterface $date) : bool
foreach ($this->elements as $element) {
if ($element->includes($date)) {
return true;
}
return false;