CreateAuthenticationBackend
extends BaseCommand
in package
For Creating a new service
Tags
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
protected
static string
$description
= 'add authentication backend'
$name
protected
static string
$name
= 'addauth'
$title
protected
static string
$title
= 'Adds a new authentication backend'
Methods
__construct()
public
__construct([string|null $name = null ]) : mixed
Parameters
- $name : string|null = null
base()
Return the base app, via this, you can access all the app settings, and current app environment
protected
static base() : Pionia
Return values
Pioniaconfigure()
protected
configure() : void
connection()
Returns the current database connection
protected
static connection([string|null $db = null ]) : Database
Parameters
- $db : string|null = null
Tags
Return values
Databaseexecute()
protected
execute(InputInterface $input, OutputInterface $output) : int
Parameters
- $input : InputInterface
- $output : OutputInterface
Return values
intgetServerSettings()
protected
getServerSettings() : array<string|int, mixed>