\Vegas\DIInjectionAwareTrait

Trait InjectionAwareTrait

Can be used for classes implementing InjectionAwareInterface Provides methods required by InjectionAwareInterface

Summary

Methods
Properties
Constants
setDI()
getDI()
No public properties found
No constants found
No protected methods found
$di
N/A
No private methods found
No private properties found
N/A

Properties

$di

$di : \Phalcon\DiInterface

Dependency injector

Type

\Phalcon\DiInterface

Methods

setDI()

setDI(\Phalcon\DiInterface $dependencyInjector) : $this

Sets the dependency injector

Parameters

\Phalcon\DiInterface $dependencyInjector

Returns

$this

getDI()

getDI() : \Phalcon\DiInterface

Returns the internal dependency injector

Returns

\Phalcon\DiInterface