PHP Class FluxBB\Core\ActionFactory

Afficher le fichier Open project: fluxbb/core Class Usage Examples

Protected Properties

Свойство Type Description
$container Illuminate\Contracts\Container\Container An instance of the IoC container.

Méthodes publiques

Méthode Description
__construct ( Illuminate\Contracts\Container\Container $container ) Create a new action factory instance.
make ( string $class ) : Action Create a new action instance.

Méthodes protégées

Méthode Description
resolve ( string $class ) : Action Resolve an action from the container.

Method Details

__construct() public méthode

Create a new action factory instance.
public __construct ( Illuminate\Contracts\Container\Container $container )
$container Illuminate\Contracts\Container\Container

make() public méthode

Create a new action instance.
public make ( string $class ) : Action
$class string
Résultat Action

resolve() protected méthode

Resolve an action from the container.
protected resolve ( string $class ) : Action
$class string
Résultat Action

Property Details

$container protected_oe property

An instance of the IoC container.
protected Container,Illuminate\Contracts\Container $container
Résultat Illuminate\Contracts\Container\Container