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/definitions -H 'Accept: application/json'
| Class | Description |
|---|---|
| Yiisoft\Definitions\ArrayDefinition | Builds an object by array config. |
| Yiisoft\Definitions\CallableDefinition | Builds an object by executing a callable injecting dependencies based on types used in its signature. |
| Yiisoft\Definitions\Contract\DefinitionInterface | Definition is describing a way to create and configure a service or an object. |
| Yiisoft\Definitions\Contract\ReferenceInterface | Reference points to another named definition. Usually it is another service in the container or another object definition in the factory. |
| Yiisoft\Definitions\DefinitionStorage | Stores service definitions and checks if a definition could be instantiated. |
| Yiisoft\Definitions\DynamicReference | The DynamicReference defines a dependency to a service not defined in the container. |
| Yiisoft\Definitions\DynamicReferencesArray | Allows creating an array of dynamic references from key-reference pairs. |
| Yiisoft\Definitions\Exception\CircularReferenceException | CircularReferenceException is thrown when DI configuration contains self-references of any level and thus could not
be resolved. |
| Yiisoft\Definitions\Exception\InvalidConfigException | InvalidConfigException is thrown when definition configuration is not valid. |
| Yiisoft\Definitions\Exception\NotInstantiableClassException | NotInstantiableClassException is thrown when a class can not be instantiated for whatever reason. |
| Yiisoft\Definitions\Exception\NotInstantiableException | NotInstantiableException represents an exception caused by incorrect dependency injection container or factory
configuration or usage. |
| Yiisoft\Definitions\Helpers\ArrayDefinitionHelper | |
| Yiisoft\Definitions\Helpers\DefinitionExtractor | This class extracts dependency definitions from type hints of a function or a class constructor parameters. |
| Yiisoft\Definitions\Helpers\DefinitionResolver | |
| Yiisoft\Definitions\Helpers\DefinitionValidator | Definition validator checks if definition is valid. |
| Yiisoft\Definitions\Helpers\ExceptionHelper | |
| Yiisoft\Definitions\Helpers\Normalizer | Normalizer definition from configuration to an instance of {@see DefinitionInterface}. |
| Yiisoft\Definitions\ParameterDefinition | Parameter definition resolves an object based on information from ReflectionParameter instance. |
| Yiisoft\Definitions\Reference | The Reference defines a dependency to a service in the container or factory in another service definition. |
| Yiisoft\Definitions\ReferencesArray | Allows creating an array of references from key-reference pairs. |
| Yiisoft\Definitions\ValueDefinition | Value definition resolves value passed as is. |
Signup or Login in order to comment.