Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
ServiceStarter Class Reference

Ubiquity\scaffolding\starter$ServiceStarter This class is part of Ubiquity. More...

Public Member Functions

 __construct (?string $servicesName='services')
 
 getTemplateDir ()
 
 addService ($serviceName)
 
 addServices (array $services)
 
 save ()
 

Private Member Functions

 loadServices ()
 
 getServicesFilename ()
 

Private Attributes

 $servicesContent
 
 $servicesName
 

Detailed Description

Ubiquity\scaffolding\starter$ServiceStarter This class is part of Ubiquity.

Author
jc
Version
1.0.0

Definition at line 14 of file ServiceStarter.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( ?string  $servicesName = 'services')

Definition at line 31 of file ServiceStarter.php.

Member Function Documentation

◆ addService()

addService (   $serviceName)

Definition at line 40 of file ServiceStarter.php.

◆ addServices()

addServices ( array  $services)

Definition at line 50 of file ServiceStarter.php.

◆ getServicesFilename()

getServicesFilename ( )
private

Definition at line 27 of file ServiceStarter.php.

◆ getTemplateDir()

getTemplateDir ( )

Definition at line 36 of file ServiceStarter.php.

◆ loadServices()

loadServices ( )
private

Definition at line 20 of file ServiceStarter.php.

◆ save()

save ( )

Definition at line 56 of file ServiceStarter.php.

Field Documentation

◆ $servicesContent

$servicesContent
private

Definition at line 16 of file ServiceStarter.php.

◆ $servicesName

$servicesName
private

Definition at line 18 of file ServiceStarter.php.


The documentation for this class was generated from the following file: