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.

22 lines
406 B

5 years ago
  1. <?php
  2. namespace Zitec\RuleEngineBundle\Service;
  3. /**
  4. * Interface for a rule expression context object.
  5. */
  6. interface RuleContextInterface
  7. {
  8. const CONTEXT = 'context';
  9. /**
  10. * @return string
  11. */
  12. public function getContextObjectKey(): string;
  13. /**
  14. * @param string $parameterName
  15. * @return string
  16. */
  17. public function getMethodName(string $parameterName): string;
  18. }