summaryrefslogtreecommitdiffstats
path: root/vendor/simshaun/recurr/src/Recurr/Transformer/ConstraintInterface.php
blob: 6879554d51f050c0acc2af431a92971f89b448a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php

/*
 * Copyright 2014 Shaun Simmons
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Recurr\Transformer;

interface ConstraintInterface
{
    /**
     * @return bool
     */
    public function stopsTransformer();

    /**
     * @param \DateTimeInterface $date
     *
     * @return bool
     */
    public function test(\DateTimeInterface $date);
}