I have a silly doubt with regard to autoloading…
There is an ‘extensions’ folder with many php files. If i specify
'import'=>array('app.extensions.*'),
in the main.php file, am i importing all the files in the ‘extensions’ folder at that instant itself, or will the files be autoloaded as and when referenced.
The doubt has risen because of the way i am understanding the following line in the Yii docs:
‘importing a class is much lighter because it only includes the class file when the class is referenced the first time’.