luanrodriguesp
4 years ago
434
16
General

[L5] How to delete a file using Filesystem

Posted 4 years ago by luanrodriguesp

Hello guys, i want to delete a file using filesystem method, my problem is when i use it, it says that method delete doesnt exist.

Example:


File::delete($pathToFile);

Thank you all in advanced!

Please sign in or create an account to participate in this conversation.