AutoloadExample.php 232 Bytes
Newer Older
1 2
<?php
/**
3
 * This is just an example.
4 5 6 7
 */
echo "<?php\n";
?>

8
namespace <?= substr($generator->namespace, 0, -1) ?>;
9

10
class AutoloadExample extends \yii\base\Widget
11 12 13
{
    public function run()
    {
14 15 16
        return "Hello!";
    }
}