PhpSpec\CodeGenerator\Generator\ClassGenerator::getGeneratedMessage PHP Method

getGeneratedMessage() protected method

protected getGeneratedMessage ( PhpSpec\Locator\Resource $resource, string $filepath ) : string
$resource PhpSpec\Locator\Resource
$filepath string
return string
    protected function getGeneratedMessage(Resource $resource, $filepath)
    {
        return sprintf("<info>Class <value>%s</value> created in <value>%s</value>.</info>\n", $resource->getSrcClassname(), $filepath);
    }