AutoloadExample.php 223 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 <?php /** * This is just an example. * */ echo "<?php\n"; ?> namespace <?= substr($generator->namespace, 0, -1) ?>; class AutoloadExample extends \yii\base\widget { function run() { return "Hello!"; } }