src/Twig/FileExtension.php
public function getFilePath($file): string
    {
        if (null === ($fileObj = $this->container->get('huh.utils.file')->getFileFromUuid($file))) {
            return '';
        }

        return $fileObj->path;
    }
public function getFilePath($file): string
    {
        if (null === ($fileObj = $this->container->get('huh.utils.file')->getFileFromUuid($file))) {
            return '';
        }

        return $fileObj->path;
    }
public function getFilePath ( $ file ) : string { if ( null === ( $ fileObj = $ this -> container -> get ( 'huh.utils.file' ) -> getFileFromUuid ( $ file ) ) ) { return '' ; } return $ fileObj -> path ; }
Get file path based on given uuid.

@param mixed $file File uuid

@return string File path
Get file path based on given uuid .