src/FileUtil.php
public static function remove($source)
    {
        if (!is_file($source)) {
            return false;
        }
        try {
            @unlink($source);
            return true;
        } catch (\Exception $e) {
            return false;
        }
    }
public static function remove($source)
    {
        if (!is_file($source)) {
            return false;
        }
        try {
            @unlink($source);
            return true;
        } catch (\Exception $e) {
            return false;
        }
    }
public static function remove ( $ source ) { if ( ! is_file ( $ source ) ) { return false ; } try { @ unlink ( $ source ) ; return true ; } catch ( \ Exception $ e ) { return false ; } }
delete the file.

@param $source
@return bool
delete the file .