I have a controller which calls a static method in a class, I get this error:
[2015-03-02 08:03:13] production.ERROR: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Class 'Main' not found' in D:\xampp\htdocs\motahida\app\controllers\DownloadWidgetController.php:31
Stack trace:
#0 [internal function]: Illuminate\Exception\Handler->handleShutdown()
#1 {main} [] []
the class Main, is at:
D:\xampp\htdocs\motahida\app\controllers\haxe\bin\lib\Main.class.php
I call it like this:
Main::unzip("amjadTest.zip", "file out put", "");
from DownloadWidgetController
class which is in:
D:\xampp\htdocs\motahida\app\controllers\DownloadWidgetController.php
PhpStorm is not complaining about Main class, and it seems fine.
Any ideas?