how to rewrite or override a yii class, where should i place the class i write extends yii.
In a separate file that’s required in index.php.