Skip to content

Instantly share code, notes, and snippets.

@Philosoft
Last active April 20, 2016 20:03
Show Gist options
  • Save Philosoft/9c96e580a21469c107947f392269048c to your computer and use it in GitHub Desktop.
Save Philosoft/9c96e580a21469c107947f392269048c to your computer and use it in GitHub Desktop.
<?php
namespace app\web\theme\module;
use Yii;
use yii\base\Module;
use yii\base\BootstrapInterface;
/**
* Class ThemeModule is the Module class for your Theme and site-specific functions
* @package app\web\theme\module
*/
class ThemeModule extends Module implements BootstrapInterface
{
/**
* @inheritdoc
*/
public function bootstrap($app)
{
Yii::$classMap['app\models\Slide'] = '@webroot/theme/module/models/Slide.php';
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment