Interface yii\base\Configurable

Implemented byyii\apidoc\commands\ApiController, yii\apidoc\commands\GuideController, yii\apidoc\components\BaseController, yii\apidoc\models\BaseDoc, yii\apidoc\models\ClassDoc, yii\apidoc\models\ConstDoc, yii\apidoc\models\Context, yii\apidoc\models\EventDoc, yii\apidoc\models\FunctionDoc, yii\apidoc\models\InterfaceDoc, yii\apidoc\models\MethodDoc, yii\apidoc\models\ParamDoc, yii\apidoc\models\PropertyDoc, yii\apidoc\models\TraitDoc, yii\apidoc\models\TypeDoc, yii\apidoc\renderers\ApiRenderer, yii\apidoc\renderers\BaseRenderer, yii\apidoc\renderers\GuideRenderer, yii\apidoc\templates\bootstrap\ApiRenderer, yii\apidoc\templates\bootstrap\GuideRenderer, yii\apidoc\templates\bootstrap\SideNavWidget, yii\apidoc\templates\bootstrap\assets\AssetBundle, yii\apidoc\templates\bootstrap\assets\HighlightBundle, yii\apidoc\templates\bootstrap\assets\JsSearchAsset, yii\apidoc\templates\html\ApiRenderer, yii\apidoc\templates\html\GuideRenderer, yii\apidoc\templates\json\ApiRenderer, yii\apidoc\templates\online\ApiRenderer, yii\apidoc\templates\pdf\GuideRenderer, yii\authclient\AuthAction, yii\authclient\BaseClient, yii\authclient\BaseOAuth, yii\authclient\Collection, yii\authclient\OAuth1, yii\authclient\OAuth2, yii\authclient\OAuthToken, yii\authclient\OpenId, yii\authclient\OpenIdConnect, yii\authclient\SessionStateStorage, yii\authclient\clients\Facebook, yii\authclient\clients\GitHub, yii\authclient\clients\Google, yii\authclient\clients\GoogleHybrid, yii\authclient\clients\LinkedIn, yii\authclient\clients\Live, yii\authclient\clients\Twitter, yii\authclient\clients\TwitterOAuth2, yii\authclient\clients\VKontakte, yii\authclient\clients\Yandex, yii\authclient\signature\BaseMethod, yii\authclient\signature\HmacSha, yii\authclient\signature\HmacSha1, yii\authclient\signature\PlainText, yii\authclient\signature\RsaSha, yii\authclient\signature\RsaSha1, yii\authclient\widgets\AuthChoice, yii\authclient\widgets\AuthChoiceAsset, yii\authclient\widgets\AuthChoiceItem, yii\authclient\widgets\AuthChoiceStyleAsset, yii\authclient\widgets\GooglePlusButton, yii\base\Action, yii\base\ActionEvent, yii\base\ActionFilter, yii\base\Application, yii\base\BaseObject, yii\base\Behavior, yii\base\Component, yii\base\Controller, yii\base\DynamicModel, yii\base\ErrorHandler, yii\base\Event, yii\base\InlineAction, yii\base\Model, yii\base\ModelEvent, yii\base\Module, yii\base\Object, yii\base\Request, yii\base\Response, yii\base\Security, yii\base\Theme, yii\base\View, yii\base\ViewEvent, yii\base\ViewRenderer, yii\base\Widget, yii\base\WidgetEvent, yii\behaviors\AttributeBehavior, yii\behaviors\AttributeTypecastBehavior, yii\behaviors\AttributesBehavior, yii\behaviors\BlameableBehavior, yii\behaviors\CacheableWidgetBehavior, yii\behaviors\OptimisticLockBehavior, yii\behaviors\SluggableBehavior, yii\behaviors\TimestampBehavior, yii\bootstrap\ActiveField, yii\bootstrap\ActiveForm, yii\bootstrap\Alert, yii\bootstrap\BootstrapAsset, yii\bootstrap\BootstrapPluginAsset, yii\bootstrap\BootstrapThemeAsset, yii\bootstrap\Button, yii\bootstrap\ButtonDropdown, yii\bootstrap\ButtonGroup, yii\bootstrap\Carousel, yii\bootstrap\Collapse, yii\bootstrap\Dropdown, yii\bootstrap\InputWidget, yii\bootstrap\Modal, yii\bootstrap\Nav, yii\bootstrap\NavBar, yii\bootstrap\Progress, yii\bootstrap\Tabs, yii\bootstrap\ToggleButtonGroup, yii\bootstrap\Widget, yii\caching\ApcCache, yii\caching\ArrayCache, yii\caching\Cache, yii\caching\ChainedDependency, yii\caching\DbCache, yii\caching\DbDependency, yii\caching\DbQueryDependency, yii\caching\Dependency, yii\caching\DummyCache, yii\caching\ExpressionDependency, yii\caching\FileCache, yii\caching\FileDependency, yii\caching\MemCache, yii\caching\MemCacheServer, yii\caching\TagDependency, yii\caching\WinCache, yii\caching\XCache, yii\caching\ZendDataCache, yii\captcha\Captcha, yii\captcha\CaptchaAction, yii\captcha\CaptchaAsset, yii\captcha\CaptchaValidator, yii\console\Application, yii\console\Controller, yii\console\ErrorHandler, yii\console\Request, yii\console\Response, yii\console\controllers\AssetController, yii\console\controllers\BaseMigrateController, yii\console\controllers\CacheController, yii\console\controllers\FixtureController, yii\console\controllers\HelpController, yii\console\controllers\MessageController, yii\console\controllers\MigrateController, yii\console\controllers\ServeController, yii\console\widgets\Table, yii\data\ActiveDataFilter, yii\data\ActiveDataProvider, yii\data\ArrayDataProvider, yii\data\BaseDataProvider, yii\data\DataFilter, yii\data\Pagination, yii\data\Sort, yii\data\SqlDataProvider, yii\db\ActiveQuery, yii\db\ActiveRecord, yii\db\AfterSaveEvent, yii\db\BaseActiveRecord, yii\db\BatchQueryResult, yii\db\CheckConstraint, yii\db\ColumnSchema, yii\db\ColumnSchemaBuilder, yii\db\Command, yii\db\Connection, yii\db\Constraint, yii\db\DataReader, yii\db\DefaultValueConstraint, yii\db\Expression, yii\db\ForeignKeyConstraint, yii\db\IndexConstraint, yii\db\Migration, yii\db\Query, yii\db\QueryBuilder, yii\db\Schema, yii\db\SqlToken, yii\db\SqlTokenizer, yii\db\TableSchema, yii\db\Transaction, yii\db\cubrid\ColumnSchemaBuilder, yii\db\cubrid\QueryBuilder, yii\db\cubrid\Schema, yii\db\mssql\QueryBuilder, yii\db\mssql\Schema, yii\db\mssql\TableSchema, yii\db\mysql\ColumnSchema, yii\db\mysql\ColumnSchemaBuilder, yii\db\mysql\QueryBuilder, yii\db\mysql\Schema, yii\db\oci\ColumnSchemaBuilder, yii\db\oci\QueryBuilder, yii\db\oci\Schema, yii\db\pgsql\ColumnSchema, yii\db\pgsql\QueryBuilder, yii\db\pgsql\Schema, yii\db\sqlite\ColumnSchemaBuilder, yii\db\sqlite\Command, yii\db\sqlite\QueryBuilder, yii\db\sqlite\Schema, yii\db\sqlite\SqlTokenizer, yii\debug\DbAsset, yii\debug\DebugAsset, yii\debug\LogTarget, yii\debug\Module, yii\debug\Panel, yii\debug\TimelineAsset, yii\debug\UserswitchAsset, yii\debug\actions\db\ExplainAction, yii\debug\components\search\Filter, yii\debug\components\search\matchers\Base, yii\debug\components\search\matchers\GreaterThan, yii\debug\components\search\matchers\GreaterThanOrEqual, yii\debug\components\search\matchers\LowerThan, yii\debug\components\search\matchers\SameAs, yii\debug\controllers\DefaultController, yii\debug\controllers\UserController, yii\debug\models\Router, yii\debug\models\UserSwitch, yii\debug\models\search\Base, yii\debug\models\search\Db, yii\debug\models\search\Debug, yii\debug\models\search\Event, yii\debug\models\search\Log, yii\debug\models\search\Mail, yii\debug\models\search\Profile, yii\debug\models\search\User, yii\debug\models\timeline\DataProvider, yii\debug\models\timeline\Search, yii\debug\models\timeline\Svg, yii\debug\panels\AssetPanel, yii\debug\panels\ConfigPanel, yii\debug\panels\DbPanel, yii\debug\panels\DumpPanel, yii\debug\panels\EventPanel, yii\debug\panels\LogPanel, yii\debug\panels\MailPanel, yii\debug\panels\ProfilingPanel, yii\debug\panels\RequestPanel, yii\debug\panels\RouterPanel, yii\debug\panels\TimelinePanel, yii\debug\panels\UserPanel, yii\di\Container, yii\di\ServiceLocator, yii\elasticsearch\ActiveDataProvider, yii\elasticsearch\ActiveFixture, yii\elasticsearch\ActiveQuery, yii\elasticsearch\ActiveRecord, yii\elasticsearch\BatchQueryResult, yii\elasticsearch\BulkCommand, yii\elasticsearch\Command, yii\elasticsearch\Connection, yii\elasticsearch\DebugAction, yii\elasticsearch\DebugPanel, yii\elasticsearch\ElasticsearchTarget, yii\elasticsearch\Query, yii\elasticsearch\QueryBuilder, yii\faker\FixtureController, yii\filters\AccessControl, yii\filters\AccessRule, yii\filters\AjaxFilter, yii\filters\ContentNegotiator, yii\filters\Cors, yii\filters\HostControl, yii\filters\HttpCache, yii\filters\PageCache, yii\filters\RateLimiter, yii\filters\VerbFilter, yii\filters\auth\AuthMethod, yii\filters\auth\CompositeAuth, yii\filters\auth\HttpBasicAuth, yii\filters\auth\HttpBearerAuth, yii\filters\auth\HttpHeaderAuth, yii\filters\auth\QueryParamAuth, yii\gii\CodeFile, yii\gii\Generator, yii\gii\GiiAsset, yii\gii\Module, yii\gii\components\ActiveField, yii\gii\console\GenerateAction, yii\gii\console\GenerateController, yii\gii\controllers\DefaultController, yii\gii\generators\controller\Generator, yii\gii\generators\crud\Generator, yii\gii\generators\extension\Generator, yii\gii\generators\form\Generator, yii\gii\generators\model\Generator, yii\gii\generators\module\Generator, yii\grid\ActionColumn, yii\grid\CheckboxColumn, yii\grid\Column, yii\grid\DataColumn, yii\grid\GridView, yii\grid\GridViewAsset, yii\grid\RadioButtonColumn, yii\grid\SerialColumn, yii\httpclient\Client, yii\httpclient\CurlTransport, yii\httpclient\JsonFormatter, yii\httpclient\JsonParser, yii\httpclient\Message, yii\httpclient\Request, yii\httpclient\RequestEvent, yii\httpclient\Response, yii\httpclient\StreamTransport, yii\httpclient\Transport, yii\httpclient\UrlEncodedFormatter, yii\httpclient\UrlEncodedParser, yii\httpclient\XmlFormatter, yii\httpclient\XmlParser, yii\httpclient\debug\HttpClientPanel, yii\httpclient\debug\RequestExecuteAction, yii\httpclient\debug\SearchModel, yii\i18n\DbMessageSource, yii\i18n\Formatter, yii\i18n\GettextFile, yii\i18n\GettextMessageSource, yii\i18n\GettextMoFile, yii\i18n\GettextPoFile, yii\i18n\I18N, yii\i18n\Locale, yii\i18n\MessageFormatter, yii\i18n\MessageSource, yii\i18n\MissingTranslationEvent, yii\i18n\PhpMessageSource, yii\jui\Accordion, yii\jui\AutoComplete, yii\jui\DatePicker, yii\jui\DatePickerLanguageAsset, yii\jui\Dialog, yii\jui\Draggable, yii\jui\Droppable, yii\jui\InputWidget, yii\jui\JuiAsset, yii\jui\Menu, yii\jui\ProgressBar, yii\jui\Resizable, yii\jui\Selectable, yii\jui\Slider, yii\jui\SliderInput, yii\jui\Sortable, yii\jui\Spinner, yii\jui\Tabs, yii\jui\Widget, yii\log\DbTarget, yii\log\Dispatcher, yii\log\EmailTarget, yii\log\FileTarget, yii\log\Logger, yii\log\SyslogTarget, yii\log\Target, yii\mail\BaseMailer, yii\mail\BaseMessage, yii\mail\MailEvent, yii\mongodb\ActiveFixture, yii\mongodb\ActiveQuery, yii\mongodb\ActiveRecord, yii\mongodb\BatchQueryResult, yii\mongodb\Cache, yii\mongodb\Collection, yii\mongodb\Command, yii\mongodb\Connection, yii\mongodb\Database, yii\mongodb\LogBuilder, yii\mongodb\Migration, yii\mongodb\Query, yii\mongodb\QueryBuilder, yii\mongodb\Session, yii\mongodb\console\controllers\MigrateController, yii\mongodb\debug\ExplainAction, yii\mongodb\debug\MongoDbPanel, yii\mongodb\file\ActiveQuery, yii\mongodb\file\ActiveRecord, yii\mongodb\file\Collection, yii\mongodb\file\Download, yii\mongodb\file\Query, yii\mongodb\file\StreamWrapper, yii\mongodb\file\Upload, yii\mongodb\gii\model\Generator, yii\mongodb\i18n\MongoDbMessageSource, yii\mongodb\log\MongoDbTarget, yii\mongodb\rbac\MongoDbManager, yii\mongodb\rbac\Permission, yii\mongodb\rbac\Role, yii\mongodb\validators\MongoDateValidator, yii\mongodb\validators\MongoIdValidator, yii\mutex\DbMutex, yii\mutex\FileMutex, yii\mutex\Mutex, yii\mutex\MysqlMutex, yii\mutex\OracleMutex, yii\mutex\PgsqlMutex, yii\rbac\Assignment, yii\rbac\BaseManager, yii\rbac\DbManager, yii\rbac\Item, yii\rbac\Permission, yii\rbac\PhpManager, yii\rbac\Role, yii\rbac\Rule, yii\redis\ActiveQuery, yii\redis\ActiveRecord, yii\redis\Cache, yii\redis\Connection, yii\redis\LuaScriptBuilder, yii\redis\Mutex, yii\redis\Session, yii\rest\Action, yii\rest\ActiveController, yii\rest\Controller, yii\rest\CreateAction, yii\rest\DeleteAction, yii\rest\IndexAction, yii\rest\OptionsAction, yii\rest\Serializer, yii\rest\UpdateAction, yii\rest\UrlRule, yii\rest\ViewAction, yii\shell\ShellController, yii\smarty\ViewRenderer, yii\sphinx\ActiveDataProvider, yii\sphinx\ActiveFixture, yii\sphinx\ActiveQuery, yii\sphinx\ActiveRecord, yii\sphinx\ColumnSchema, yii\sphinx\Command, yii\sphinx\Connection, yii\sphinx\IndexSchema, yii\sphinx\MatchBuilder, yii\sphinx\MatchExpression, yii\sphinx\Query, yii\sphinx\QueryBuilder, yii\sphinx\Schema, yii\sphinx\gii\model\Generator, yii\swiftmailer\Mailer, yii\swiftmailer\Message, yii\test\ActiveFixture, yii\test\ArrayFixture, yii\test\BaseActiveFixture, yii\test\DbFixture, yii\test\Fixture, yii\test\InitDbFixture, yii\twig\ViewRenderer, yii\validators\BooleanValidator, yii\validators\CompareValidator, yii\validators\DateValidator, yii\validators\DefaultValueValidator, yii\validators\EachValidator, yii\validators\EmailValidator, yii\validators\ExistValidator, yii\validators\FileValidator, yii\validators\FilterValidator, yii\validators\ImageValidator, yii\validators\InlineValidator, yii\validators\IpValidator, yii\validators\NumberValidator, yii\validators\PunycodeAsset, yii\validators\RangeValidator, yii\validators\RegularExpressionValidator, yii\validators\RequiredValidator, yii\validators\SafeValidator, yii\validators\StringValidator, yii\validators\UniqueValidator, yii\validators\UrlValidator, yii\validators\ValidationAsset, yii\validators\Validator, yii\web\Application, yii\web\AssetBundle, yii\web\AssetConverter, yii\web\AssetManager, yii\web\CacheSession, yii\web\CompositeUrlRule, yii\web\Controller, yii\web\Cookie, yii\web\CookieCollection, yii\web\DbSession, yii\web\ErrorAction, yii\web\ErrorHandler, yii\web\GroupUrlRule, yii\web\HeaderCollection, yii\web\HtmlResponseFormatter, yii\web\JqueryAsset, yii\web\JsExpression, yii\web\JsonResponseFormatter, yii\web\Link, yii\web\MultiFieldSession, yii\web\MultipartFormDataParser, yii\web\Request, yii\web\Response, yii\web\Session, yii\web\UploadedFile, yii\web\UrlManager, yii\web\UrlNormalizer, yii\web\UrlRule, yii\web\User, yii\web\UserEvent, yii\web\View, yii\web\ViewAction, yii\web\XmlResponseFormatter, yii\web\YiiAsset, yii\widgets\ActiveField, yii\widgets\ActiveForm, yii\widgets\ActiveFormAsset, yii\widgets\BaseListView, yii\widgets\Block, yii\widgets\Breadcrumbs, yii\widgets\ContentDecorator, yii\widgets\DetailView, yii\widgets\FragmentCache, yii\widgets\InputWidget, yii\widgets\LinkPager, yii\widgets\LinkSorter, yii\widgets\ListView, yii\widgets\MaskedInput, yii\widgets\MaskedInputAsset, yii\widgets\Menu, yii\widgets\Pjax, yii\widgets\PjaxAsset, yii\widgets\Spaceless
Available since version2.0.3
Source Code https://github.com/yiisoft/yii2/blob/master/framework/base/Configurable.php

Configurable is the interface that should be implemented by classes who support configuring its properties through the last parameter to its constructor.

The interface does not declare any method. Classes implementing this interface must declare their constructors like the following:

public function __constructor($param1, $param2, ..., $config = [])

That is, the last parameter of the constructor must accept a configuration array.

This interface is mainly used by yii\di\Container so that it can pass object configuration as the last parameter to the implementing class' constructor.

For more details and usage information on Configurable, see the guide article on configurations.