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
22 lines
406 B
<?php
|
|
|
|
namespace Zitec\RuleEngineBundle\Service;
|
|
|
|
/**
|
|
* Interface for a rule expression context object.
|
|
*/
|
|
interface RuleContextInterface
|
|
{
|
|
const CONTEXT = 'context';
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getContextObjectKey(): string;
|
|
|
|
/**
|
|
* @param string $parameterName
|
|
* @return string
|
|
*/
|
|
public function getMethodName(string $parameterName): string;
|
|
}
|