方法
public static function delete_file($path){
try {
$exists = \File::exists($path); // ファイルの存在確認
// 存在する
if( $exists == true ) {
\File::delete($path); // ファイルを削除
}
} catch(Exception \$e) {
}
}
File::exists()で存在確認してから、File::delete()で削除すると無駄にExceptionが発生せずに良いと思う。