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); }