src/ViewControl/ViewControlServiceProvider.php
public function basePath($path = '')
    {
        return $this->getFilesystem()->dirname($this->path()) . ($path ? DIRECTORY_SEPARATOR . $path : $path);
    }
public function basePath($path = '')
    {
        return $this->getFilesystem()->dirname($this->path()) . ($path ? DIRECTORY_SEPARATOR . $path : $path);
    }
public function basePath ( $ path = '' ) { return $ this -> getFilesystem ( ) -> dirname ( $ this -> path ( ) ) . ( $ path ? DIRECTORY_SEPARATOR . $ path : $ path ) ; }
Get the base path of the plugin installation.

@param  string $path
@return string
Get the base path of the plugin installation .