Adamgoose\Routing\Annotations\MethodEndpoint::getTemplate PHP Method

getTemplate() protected method

Get the template for the endpoint.
protected getTemplate ( ) : string
return string
    protected function getTemplate()
    {
        return '$router->%s(\'%s\', [
	\'uses\' => \'%s\',
	\'as\' => %s,
	\'middleware\' => [%s],
	\'where\' => [%s],
	\'domain\' => %s,
]);';
    }