class ServiceDefinition extends Object

Definition used by ContainerBuilder.

Constants

IMPLEMENT_MODE_CREATE

IMPLEMENT_MODE_GET

Properties

array $parameters

Methods

setClass($class, array $args = array())

No description

string|null
getClass()

No description

setFactory($factory, array $args = array())

No description

Statement|null
getFactory()

No description

string|array|ServiceDefinition|null
getEntity()

No description

setArguments(array $args = array())

No description

setSetup(array $setup)

No description

getSetup()

No description

addSetup($entity, array $args = array())

No description

setParameters(array $params)

No description

array
getParameters()

No description

setTags(array $tags)

No description

array
getTags()

No description

addTag($tag, $attr = TRUE)

No description

mixed
getTag($tag)

No description

setAutowired($state = TRUE)

No description

bool
isAutowired()

No description

setDynamic($state = TRUE)

No description

bool
isDynamic()

No description

setImplement($interface)

No description

string|null
getImplement()

No description

setImplementMode($mode)

No description

string|null
getImplementMode()

No description

setImplementType($type) deprecated

No description

getImplementType() deprecated

No description

setShared($on) deprecated

No description

isShared() deprecated

No description

setInject($state = TRUE)

No description

bool|null
getInject()

No description

Details

at line 53
ServiceDefinition setClass($class, array $args = array())

No description

Parameters

$class
array $args

Return Value

ServiceDefinition

at line 66
string|null getClass()

No description

Return Value

string|null

at line 75
ServiceDefinition setFactory($factory, array $args = array())

No description

Parameters

$factory
array $args

Return Value

ServiceDefinition

at line 85
Statement|null getFactory()

No description

Return Value

Statement|null

at line 94
string|array|ServiceDefinition|null getEntity()

No description

Return Value

string|array|ServiceDefinition|null

at line 103
ServiceDefinition setArguments(array $args = array())

No description

Parameters

array $args

Return Value

ServiceDefinition

at line 117
ServiceDefinition setSetup(array $setup)

No description

Parameters

array $setup

Return Value

ServiceDefinition

at line 132
Statement[] getSetup()

No description

Return Value

Statement[]

at line 141
ServiceDefinition addSetup($entity, array $args = array())

No description

Parameters

$entity
array $args

Return Value

ServiceDefinition

at line 151
ServiceDefinition setParameters(array $params)

No description

Parameters

array $params

Return Value

ServiceDefinition

at line 161
array getParameters()

No description

Return Value

array

at line 170
ServiceDefinition setTags(array $tags)

No description

Parameters

array $tags

Return Value

ServiceDefinition

at line 180
array getTags()

No description

Return Value

array

at line 189
ServiceDefinition addTag($tag, $attr = TRUE)

No description

Parameters

$tag
$attr

Return Value

ServiceDefinition

at line 199
mixed getTag($tag)

No description

Parameters

$tag

Return Value

mixed

at line 209
ServiceDefinition setAutowired($state = TRUE)

No description

Parameters

$state

Return Value

ServiceDefinition

at line 219
bool isAutowired()

No description

Return Value

bool

at line 229
ServiceDefinition setDynamic($state = TRUE)

No description

Parameters

$state

Return Value

ServiceDefinition

at line 239
bool isDynamic()

No description

Return Value

bool

at line 249
ServiceDefinition setImplement($interface)

No description

Parameters

$interface

Return Value

ServiceDefinition

at line 259
string|null getImplement()

No description

Return Value

string|null

at line 269
ServiceDefinition setImplementMode($mode)

No description

Parameters

$mode

Return Value

ServiceDefinition

at line 282
string|null getImplementMode()

No description

Return Value

string|null

at line 289
setImplementType($type) deprecated

deprecated

No description

Parameters

$type

at line 296
getImplementType() deprecated

deprecated

No description

at line 303
setShared($on) deprecated

deprecated

No description

Parameters

$on

at line 312
isShared() deprecated

deprecated

No description

at line 319
ServiceDefinition setInject($state = TRUE)

No description

Parameters

$state

Return Value

ServiceDefinition

at line 327
bool|null getInject()

No description

Return Value

bool|null