public function getAssetName(IFile $file): string
    {
        if ($this->assetNameClosure !== null) {
            return \call_user_func($this->assetNameClosure, $file);
        }

        return $file->getId() . '_' . $file->getFullName();
    }
public function getAssetName(IFile $file): string
    {
        if ($this->assetNameClosure !== null) {
            return \call_user_func($this->assetNameClosure, $file);
        }

        return $file->getId() . '_' . $file->getFullName();
    }
public function getAssetName ( IFile $ file ) : string { if ( $ this -> assetNameClosure !== null ) { return \ call_user_func ( $ this -> assetNameClosure , $ file ) ; } return $ file -> getId ( ) . '_' . $ file -> getFullName ( ) ; }
File name in asset directory
@param IFile $file
@return string
File name in asset directory