summaryrefslogtreecommitdiffstats
path: root/vendor/simshaun/recurr/src/Recurr/Transformer/ConstraintInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/simshaun/recurr/src/Recurr/Transformer/ConstraintInterface.php')
-rw-r--r--vendor/simshaun/recurr/src/Recurr/Transformer/ConstraintInterface.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/vendor/simshaun/recurr/src/Recurr/Transformer/ConstraintInterface.php b/vendor/simshaun/recurr/src/Recurr/Transformer/ConstraintInterface.php
new file mode 100644
index 0000000..6879554
--- /dev/null
+++ b/vendor/simshaun/recurr/src/Recurr/Transformer/ConstraintInterface.php
@@ -0,0 +1,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);
+}