Classes/Service/RemoveService.php
public function removeFile(string $absoulteFileName): bool
    {
        if (!\is_file($absoulteFileName)) {
            return true;
        }

        return (bool)\unlink($absoulteFileName);
    }
public function removeFile(string $absoulteFileName): bool
    {
        if (!\is_file($absoulteFileName)) {
            return true;
        }

        return (bool)\unlink($absoulteFileName);
    }
public function removeFile ( string $ absoulteFileName ) : bool { if ( ! \ is_file ( $ absoulteFileName ) ) { return true ; } return ( bool ) \ unlink ( $ absoulteFileName ) ; }
Remove the given file. If the file do not exists, the function return true.

@param string $absoulteFileName

@return bool
Remove the given file . If the file do not exists the function return true .