for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/*
* Copyright (c) 2022 Ne-Lexa <[email protected]>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
* @see https://github.com/Ne-Lexa/roach-php-bundle
*/
namespace Nelexa\RoachPhpBundle\Maker\Spider;
use Nelexa\RoachPhpBundle\Maker\AbstractMaker;
final class MakeResponseMiddleware extends AbstractMaker
{
public static function getCommandName(): string
return 'make:roach:middleware:spider:response';
}
protected static function getDescriptionClass(): string
return 'spider response middleware';
protected function getSuffix(): string
return 'ResponseMiddleware';
protected function getNamespace(): string
return 'Spider\\Middleware\\Spider\\';
protected function getTemplateFilename(): string
return __DIR__ . '/../../Resources/skeleton/Spider/ResponseMiddleware.tpl.php';