src/Assets/LocalStorageAssetCatalogueProvider.php
protected function getAssetPath(Asset $asset):string
    {
        // Get the file name from the provider data
        $data = $asset->getProviderData();
        $path = $this->getRootPath() . "/" . $this->getCategoryDirectory() . "/" . $data["file"];
        return $path;
    }
protected function getAssetPath(Asset $asset):string
    {
        // Get the file name from the provider data
        $data = $asset->getProviderData();
        $path = $this->getRootPath() . "/" . $this->getCategoryDirectory() . "/" . $data["file"];
        return $path;
    }
protected function getAssetPath ( Asset $ asset ) : string { // Get the file name from the provider data $ data = $ asset -> getProviderData ( ) ; $ path = $ this -> getRootPath ( ) . "/" . $ this -> getCategoryDirectory ( ) . "/" . $ data [ "file" ] ; return $ path ; }
Returns the local path for the given asset.

@param Asset $asset
@return string
Returns the local path for the given asset .