luanrodriguesp
5 years ago
2626
16
General

[L5] How to delete a file using Filesystem

Posted 5 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.