Licitator 1.0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
367 B

5 years ago
  1. <?php
  2. namespace Zitec\RuleEngineBundle\DoctrineBehaviors;
  3. use Zitec\RuleEngineBundle\Entity\Rule;
  4. /**
  5. * Interface RuleInterface
  6. * An interface for entities using the RuleTrait to allow better type hinting for implementing entities.
  7. */
  8. interface PreconditionInterface
  9. {
  10. /**
  11. * @return Rule|null
  12. */
  13. public function getPrecondition(): ?Rule;
  14. }