İçeriğe geç
PHP Ecosystem
Explore

yii2\extensions\phpstan\type

Bu içerik henüz dilinizde mevcut değil.

API reference › PHPStan › type

ClassSummary
ActiveQueryDynamicMethodReturnTypeExtension finalInfers the row array shape of ActiveQuery::asArray() queries from the model’s class-level @property tags.
ActiveRecordGetAttributeDynamicMethodReturnTypeExtension finalInfers return types for ActiveRecord::getAttribute() calls in PHPStan analysis.
ActiveRecordQueryDynamicStaticMethodReturnTypeExtension finalBinds the rows of the ActiveQuery returned by an ActiveRecord static method to the called model.
ApplicationTypeNodeResolverExtension finalResolves the PHPDoc types of Yii::$app and Module::$params declared by the stub shipped with this extension.
ContainerDynamicMethodReturnTypeExtension finalResolves Container::get() calls for service IDs defined in the Yii configuration to their configured class.
HeaderCollectionDynamicMethodReturnTypeExtension finalRemoves null from the HeaderCollection::get() return type when the $default argument cannot be null.
LoggerMessagesExpressionTypeResolverExtension finalInfers the documented tuple shape for Yii logger and log-target message buffers.
ServiceLocatorDynamicMethodReturnTypeExtension finalResolves ServiceLocator::get() calls for component IDs configured in the Yii application to their class.
TargetFilterMessagesDynamicStaticMethodReturnTypeExtension finalPreserves Yii log-message key and value types through Target::filterMessages() calls.