for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Recurrence\Constraint;
use Recurrence\Model\Recurrence;
/**
* Class EndOfMonthConstraint
* @package Recurrence\Constraint
*/
class EndOfMonthConstraint implements RecurrenceConstraintInterface
{
* @param Recurrence $recurrence
* @param \Datetime $datetime
* @return \Datetime
public function apply(Recurrence $recurrence, \Datetime $datetime)
return $datetime;
}