Menu

## SelfResolvingDefinition
in

SelfResolvingDefinition.php : 14

Describes a definition that can resolve itself.

##### Tags

author

  Matthieu Napoli matthieu@mnapoli.fr

### Table of Contents

#### Methods

isResolvable() : bool
  Check if a definition can be resolved.
resolve() : mixed
  Resolve the definition and return the resulting value.

### Methods

#### isResolvable()

SelfResolvingDefinition.php : 24

Check if a definition can be resolved.

`public isResolvable(ContainerInterface $container) : bool`

##### Parameters

$container : ContainerInterface

##### Return values

bool

#### resolve()

SelfResolvingDefinition.php : 19

Resolve the definition and return the resulting value.

`public resolve(ContainerInterface $container) : mixed`

##### Parameters

$container : ContainerInterface

## Search results