Last active
April 20, 2016 20:03
-
-
Save Philosoft/9c96e580a21469c107947f392269048c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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