Class InvokableFactory

Summary

Fully Qualified Name: Zend\ServiceManager\Factory\InvokableFactory
Implements: FactoryInterface

Description

Factory for instantiating classes with no dependencies or which accept a single array.

The InvokableFactory can be used for any class that:

It replaces the "invokables" and "invokable class" functionality of the v2 service manager.

Methods

Name Description Defined By
__invoke() {@inheritDoc} InvokableFactory

Method Details

__invoke()

{@inheritDoc}

Parameter Name Type Description
$container
$requestedName
$options

Returns:

Top