Overview

Namespaces

  • Minion
    • Service
    • Twig

Classes

  • ServiceConfig
  • ServiceProvider

Interfaces

  • ServiceConfigInterface
  • ServiceProviderInterface
  • Overview
  • Namespace
  • Class

Class ServiceConfig

Class ServiceConfig.

Minion\Service\ServiceConfig implements Minion\Service\ServiceConfigInterface
Namespace: Minion\Service
Package: Minion
Author: Damian SzczerbiƄski dszczer@gmail.com
Located at Service/ServiceConfig.php
Methods summary
public Minion\Service\ServiceConfigInterface
# __construct( string $id, array $parsed )

ServiceInterface constructor.

ServiceInterface constructor.

Parameters

$id
Service identifier
$parsed
$parsedService Parsed service array data

Returns

Minion\Service\ServiceConfigInterface

Throws

Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
Throws exception when $parsedService is invalid

Implementation of

Minion\Service\ServiceConfigInterface::__construct()
public array
# getTags( )

Get all associated tags.

Get all associated tags.

Returns

array

Implementation of

Minion\Service\ServiceConfigInterface::getTags()
public string
# getId( )

Get service identifier.

Get service identifier.

Returns

string

Implementation of

Minion\Service\ServiceConfigInterface::getId()
public mixed
# getOption( string $name )

Get option by it's name.

Get option by it's name.

Parameters

$name
Option name

Returns

mixed
Option value

Throws

InvalidArgumentException
Tag is not defined

Implementation of

Minion\Service\ServiceConfigInterface::getOption()
public array
# getOptions( )

Get all service options.

Get all service options.

Returns

array

Implementation of

Minion\Service\ServiceConfigInterface::getOptions()
public string
# getProviderClass( )

Get fully qualified service provider class name.

Get fully qualified service provider class name.

Returns

string

Implementation of

Minion\Service\ServiceConfigInterface::getProviderClass()
Properties summary
protected string $id

Service identifier

Service identifier

#
protected string $providerClass

Service provider fully qualified class name

Service provider fully qualified class name

#
protected array $tags

Service related tags

Service related tags

#
protected Symfony\Component\HttpFoundation\ParameterBag $options

Service options

Service options

#
API documentation generated by ApiGen