Tolerance\Bridge\JMSAopBundle\Operation\RunnerRepository::addRunnerAt PHP Method

addRunnerAt() public method

public addRunnerAt ( string $path, Tolerance\Operation\Runner\OperationRunner $runner )
$path string
$runner Tolerance\Operation\Runner\OperationRunner
    public function addRunnerAt($path, OperationRunner $runner)
    {
        if (strpos($path, ':') === false) {
            throw new \RuntimeException('The path should be with the form "class:method".');
        }
        list($className, $method) = explode(':', $path);
        $this->addRunner($className, $method, $runner);
    }