Yii Framework 3.0 API Documentation
This is the Yii Framework API Documentation. Here you will find detailed information about all classes provided by the Framework. Below you find a list of the existing classes, interfaces, and traits, ordered by their fully qualified name (including the namespace). Each of them has a dedicated page which contains a description about the purpose of the class, a list of the available methods, properties and constants, and detailed description on how to use each of them.
On this page you find all the classes included in version 3.0 of the framework. You can use the dropdown menu on the top right to switch between versions.
You can search API documentation using the search form on the top.
You can search for class names and also method and property names, e.g. ActiveRecord.save() or just .save() or ::save().
This page is also available in JSON format:curl https://www.yiiframework.com/doc/api/3.0/di -H 'Accept: application/json'
| Class | Description |
|---|---|
| Yiisoft\Di\BuildingException | It wraps all exceptions that don't implement ContainerExceptionInterface during the build process. |
| Yiisoft\Di\CompositeContainer | A composite container for use with containers that support the delegate lookup feature. |
| Yiisoft\Di\CompositeNotFoundException | CompositeNotFoundException is thrown when no definition or class was found in the composite container
for a given ID. It contains all exceptions thrown by containers registered in the composite container. |
| Yiisoft\Di\Container | Container implements a dependency injection container. |
| Yiisoft\Di\ContainerConfig | Container configuration. |
| Yiisoft\Di\ContainerConfigInterface | Container configuration. |
| Yiisoft\Di\ExtensibleService | |
| Yiisoft\Di\Helpers\DefinitionNormalizer | |
| Yiisoft\Di\Helpers\DefinitionParser | |
| Yiisoft\Di\NotFoundException | NotFoundException is thrown when no definition or class was found in the container for a given ID. |
| Yiisoft\Di\Reference\TagReference | Helper class used to specify a reference to a tag. |
| Yiisoft\Di\ServiceProviderInterface | Represents a component responsible for class registration in the Container. |
| Yiisoft\Di\StateResetter | State resetter allows resetting state of the services that are currently stored in the container and have "reset" callback defined. The reset should be triggered after each request-response cycle in case you build long-running applications with tools like Swoole or RoadRunner. |
Signup or Login in order to comment.