PhpSpec\Listener\MethodNotFoundListener::writeWrongMethodNameMessage PHP Method

writeWrongMethodNameMessage() private method

    private function writeWrongMethodNameMessage()
    {
        foreach ($this->wrongMethodNames as $methodName) {
            $message = sprintf("I cannot generate the method '%s' for you because it is a reserved keyword", $methodName);
            $this->io->writeBrokenCodeBlock($message, 2);
        }
    }