Table Of Contents

Previous topic

< Class Phalcon\Di\Service

Next topic

Abstract class Phalcon\Dispatcher >

This Page

Class Phalcon\Di\Service\Builder

Source on GitHub

This class builds instances based on complex definitions


private mixed _buildParameter (Phalcon\DiInterface $dependencyInjector, int $position, array $argument)

Resolves a constructor/call parameter

private _buildParameters (Phalcon\DiInterface $dependencyInjector, array $arguments)

Resolves an array of parameters

public mixed build (Phalcon\DiInterface $dependencyInjector, array $definition, [array $parameters])

Builds a service using a complex service definition

Follow along: