Pionia Core

SelfResolvingDefinition
in

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()

Check if a definition can be resolved.

public isResolvable(ContainerInterface $container) : bool
Parameters
$container : ContainerInterface
Return values
bool

resolve()

Resolve the definition and return the resulting value.

public resolve(ContainerInterface $container) : mixed
Parameters
$container : ContainerInterface

        
On this page

Search results