src/Core/PluginManager.php
public function getPath(string $path = ''): string
    {
        return $this->dirPath.($path ? DIRECTORY_SEPARATOR.$path : $path);
    }
public function getPath(string $path = ''): string
    {
        return $this->dirPath.($path ? DIRECTORY_SEPARATOR.$path : $path);
    }
public function getPath ( string $ path = '' ) : string { return $ this -> dirPath . ( $ path ? DIRECTORY_SEPARATOR . $ path : $ path ) ; }
Return the plugin root path.

@param string $path Path to append to the plugin root path.

@return string
Return the plugin root path .