0 follower

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/error-handler -H 'Accept: application/json'

Class Description
Yiisoft\ErrorHandler\CompositeException Aggregate multiple exceptions into one.
Yiisoft\ErrorHandler\ErrorData ErrorData stores content and headers that are suitable for adding to response.
Yiisoft\ErrorHandler\ErrorHandler ErrorHandler handles out of memory errors, fatals, warnings, notices and exceptions.
Yiisoft\ErrorHandler\Event\ApplicationError ApplicationError represents an application error event.
Yiisoft\ErrorHandler\Exception\ErrorException ErrorException represents a PHP error.
Yiisoft\ErrorHandler\Exception\UserException UserException is an exception and a class attribute that indicates the exception message is safe to display to end users.
Yiisoft\ErrorHandler\Factory\ThrowableResponseFactory ThrowableResponseFactory renders Throwable object and produces a response according to the content type provided by the client.
Yiisoft\ErrorHandler\HeadersProvider HeadersProvider provides headers for error response.
Yiisoft\ErrorHandler\Middleware\ErrorCatcher ErrorCatcher catches all throwables from the next middlewares and renders it with a handler that implements the ThrowableResponseFactoryInterface.
Yiisoft\ErrorHandler\Middleware\ExceptionResponder ExceptionResponder maps certain exceptions to custom responses.
Yiisoft\ErrorHandler\RendererProvider\ClosureRendererProvider Provides a renderer based on a closure that returns a ThrowableRendererInterface or its class name.
Yiisoft\ErrorHandler\RendererProvider\CompositeRendererProvider CompositeRendererProvider aggregates multiple RendererProviderInterface implementations.
Yiisoft\ErrorHandler\RendererProvider\ContentTypeRendererProvider Provides a renderer based on the "Accept" header of the request.
Yiisoft\ErrorHandler\RendererProvider\HeadRendererProvider Provides a renderer for HEAD requests.
Yiisoft\ErrorHandler\RendererProvider\RendererProviderInterface Interface that provides a way to get a ThrowableRendererInterface implementation based on the request.
Yiisoft\ErrorHandler\Renderer\HeaderRenderer Formats throwable into HTTP headers.
Yiisoft\ErrorHandler\Renderer\HtmlRenderer Formats throwable into HTML string.
Yiisoft\ErrorHandler\Renderer\JsonRenderer Formats throwable into JSON string.
Yiisoft\ErrorHandler\Renderer\PlainTextRenderer Formats throwable into plain text string.
Yiisoft\ErrorHandler\Renderer\XmlRenderer Formats throwable into XML string.
Yiisoft\ErrorHandler\ThrowableRendererInterface ThrowableRendererInterface converts throwable into error data suitable for adding it to response.
Yiisoft\ErrorHandler\ThrowableResponseFactory ThrowableResponseFactory produces a response with rendered Throwable object.
Yiisoft\ErrorHandler\ThrowableResponseFactoryInterface ThrowableResponseFactoryInterface produces a response for Throwable object.