这样配置的组件,phpstorm不能提示组件内的方法和属性。
'components'=>[
'box'=>[
'class'=>'frontend\components\Box'
]
]
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
业精于勤,荒于嬉;行成于思,毁于随。