Blame view

common/components/nodge/eauth/src/Bootstrap.php 531 Bytes
b0f143c3   Yarik   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
  <?php
  /**
   * Extension class file.
   *
   * @author Maxim Zemskov <nodge@yandex.ru>
   * @link http://github.com/Nodge/yii2-eauth/
   * @license http://www.opensource.org/licenses/bsd-license.php
   */
  
  namespace common\modules\nodge\eauth\src\eauth;
  
  use Yii;
  use yii\base\Application;
  use yii\base\BootstrapInterface;
  
  /**
   * This is the bootstrap class for the yii2-eauth extension.
   */
  class Bootstrap implements BootstrapInterface
  {
  	/**
  	 * @inheritdoc
  	 */
  	public function bootstrap($app)
  	{
  		Yii::setAlias('@eauth', __DIR__);
  	}
  }