Overview

Namespaces

  • Minion
    • Service
    • Twig

Classes

  • ServiceConfig
  • ServiceProvider

Interfaces

  • ServiceConfigInterface
  • ServiceProviderInterface
  • Overview
  • Namespace
  • Class

Interface ServiceConfigInterface

Class ServiceConfigInterface.

Direct known implementers

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

ServiceInterface constructor.

ServiceInterface constructor.

Parameters

$id
Service identifier
$parsedService
Parsed service array data

Returns

Minion\Service\ServiceConfigInterface

Throws

Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
Throws exception when $parsedService is invalid
public array
# getTags( )

Get all associated tags.

Get all associated tags.

Returns

array
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
public array
# getOptions( )

Get all service options.

Get all service options.

Returns

array
public string
# getId( )

Get service identifier.

Get service identifier.

Returns

string
public string
# getProviderClass( )

Get fully qualified service provider class name.

Get fully qualified service provider class name.

Returns

string
API documentation generated by ApiGen