Menu

## CreateService extends BaseCommand
in package

CreateService.php : 17

For Creating a new service

##### Tags

author

  Jet - ezrajet9@gmail.com

### Table of Contents

#### Properties

$description : string
$name : string
$title : string

#### Methods

__construct() : mixed
base() : Pionia
  Return the base app, via this, you can access all the app settings, and current app environment
configure() : void
connection() : Database
  Returns the current database connection
execute() : int
getServerSettings() : array<string|int, mixed>

### Properties

#### $description

CreateService.php : 20
`protected static string $description = 'add service'`

#### $name

CreateService.php : 21
`protected static string $name = 'addservice'`

#### $title

CreateService.php : 19
`protected static string $title = 'Add a new service'`

### Methods

#### __construct()

BaseCommand.php : 18
`public __construct([string|null $name = null ]) : mixed`

##### Parameters

$name : string|null = null

#### base()

BaseCommand.php : 28

Return the base app, via this, you can access all the app settings, and current app environment

`protected static base() : Pionia`

##### Return values

Pionia

#### configure()

CreateService.php : 22
`protected configure() : void`

#### connection()

BaseCommand.php : 52

Returns the current database connection

`protected static connection([string|null $db = null ]) : Database`

##### Parameters

$db : string|null = null

##### Tags

throws
  Exception
author

  Jet - ezrajet9@gmail.com

##### Return values

Database

#### execute()

CreateService.php : 32
`protected execute(InputInterface $input, OutputInterface $output) : int`

##### Parameters

$input : InputInterface
$output : OutputInterface

##### Return values

int

#### getServerSettings()

BaseCommand.php : 33
`protected getServerSettings() : array<string|int, mixed>`

##### Return values

array<string|int, mixed>

## Search results