Skip to content

AbstractInjectable

Trait AbstractInjectable

This trait provides a common interface for classes that are injectable and depend on a dependency injection container.


  • Full name: \PhalconKit\Mvc\Controller\Traits\Abstracts\AbstractInjectable

Methods

setDI

public setDI(\Phalcon\Di\DiInterface $di): void
  • This method is abstract. Parameters:
Parameter Type Description
$di \Phalcon\Di\DiInterface

getDI

public getDI(): \Phalcon\Di\DiInterface
  • This method is abstract.