AutoloadExample.php 224 Bytes
Newer Older
1
<?= "<?php\n" ?>
2

3
namespace <?= substr($generator->namespace, 0, -1) ?>;
4

5 6 7
/**
 * This is just an example.
 */
8
class AutoloadExample extends \yii\base\Widget
9 10 11
{
    public function run()
    {
12 13 14
        return "Hello!";
    }
}