Dependency Injection using Cygnite IoC Container
Sanjoy Dey
React JS | HTML | CSS | Javascript | Typescript | REST API | #OpenToWork #Bangalore
Cygnite PHP Framework - "The New Cool Kid"
Cygnite Framework has powerful dependency injection container to resolve your class dependencies at runtime. Dependency injection is a software design pattern that implements inversion of control (IoC). Cygnite IoC Container gives you more flexibility to write powerful, decoupled application.
- Auto Resolve Your Dependencies -
use Cygnite\Foundation\Application;
use Cygnite\AbstractBaseController;
use Apps\Extensions\Foo;
class HomeController extends AbstractBaseController
{
private $foo;
public function __construct(Foo $foo)
{
$this->foo = $foo;
}
}
Learning new framework is fun. Read more
Cygnite Framework is open source software meaning that anyone can contribute.
Would like to be part of Cygnite growing development team ? Fork or send pull request. You may also share your valuable feedback to improve, in the feedback page.