private function addRunner($className, $method, OperationRunner $runner) { if (!array_key_exists($className, $this->runnerMappings)) { $this->runnerMappings[$className] = []; } $this->runnerMappings[$className][$method] = $runner; }