public function init()
    {
        if ($this->sourcePath !== null) {
            $this->sourcePath = rtrim(Reaction::$app->getAlias($this->sourcePath), '/\\');
        }
        if ($this->basePath !== null) {
            $this->basePath = rtrim(Reaction::$app->getAlias($this->basePath), '/\\');
        }
        if ($this->baseUrl !== null) {
            $this->baseUrl = rtrim(Reaction::$app->getAlias($this->baseUrl), '/');
        }
    }
public function init()
    {
        if ($this->sourcePath !== null) {
            $this->sourcePath = rtrim(Reaction::$app->getAlias($this->sourcePath), '/\\');
        }
        if ($this->basePath !== null) {
            $this->basePath = rtrim(Reaction::$app->getAlias($this->basePath), '/\\');
        }
        if ($this->baseUrl !== null) {
            $this->baseUrl = rtrim(Reaction::$app->getAlias($this->baseUrl), '/');
        }
    }
public function init ( ) { if ( $ this -> sourcePath !== null ) { $ this -> sourcePath = rtrim ( Reaction :: $ app -> getAlias ( $ this -> sourcePath ) , '/\\' ) ; } if ( $ this -> basePath !== null ) { $ this -> basePath = rtrim ( Reaction :: $ app -> getAlias ( $ this -> basePath ) , '/\\' ) ; } if ( $ this -> baseUrl !== null ) { $ this -> baseUrl = rtrim ( Reaction :: $ app -> getAlias ( $ this -> baseUrl ) , '/' ) ; } }
Initializes the bundle.
If you override this method, make sure you call the parent implementation in the last.
Initializes the bundle . If you override this method make sure you call the parent implementation in the last .