public function init(): void
    {
        if ($this->sourcePath !== null) {
            $this->sourcePath = $this->findPath($this->sourcePath);
        }
        if ($this->basePath !== null) {
            $this->basePath = $this->findPath($this->basePath);
        }
        if ($this->baseUrl !== null) {
            $this->baseUrl = rtrim(Yii::getAlias($this->baseUrl), '/');
        }
    }
public function init(): void
    {
        if ($this->sourcePath !== null) {
            $this->sourcePath = $this->findPath($this->sourcePath);
        }
        if ($this->basePath !== null) {
            $this->basePath = $this->findPath($this->basePath);
        }
        if ($this->baseUrl !== null) {
            $this->baseUrl = rtrim(Yii::getAlias($this->baseUrl), '/');
        }
    }
public function init ( ) : void { if ( $ this -> sourcePath !== null ) { $ this -> sourcePath = $ this -> findPath ( $ this -> sourcePath ) ; } if ( $ this -> basePath !== null ) { $ this -> basePath = $ this -> findPath ( $ this -> basePath ) ; } if ( $ this -> baseUrl !== null ) { $ this -> baseUrl = rtrim ( Yii :: 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 .