class Services

Supports commands related to Services.

Constants

private SERVICES_PATH

Path to service classes.

Methods

static int
makeService(InputInterface $input)

Creates new Services class.

static string
servicesTemplate(string $serviceName)

Template for new Service class.

Details

at line 23
static int makeService(InputInterface $input)

Creates new Services class.

Parameters

InputInterface $input

The Symfony InputInterface object.

Return Value

int

A value that indicates success, invalid, or failure.

at line 40
static string servicesTemplate(string $serviceName)

Template for new Service class.

Parameters

string $serviceName

The name of the Service class.

Return Value

string

The template for the new Service class.