Map class in Controller unused?

23 views
Skip to first unread message

Stefano

unread,
Apr 3, 2018, 3:30:31 PM4/3/18
to Fat-Free Framework
hi there,
is there any reason for the Map class in Controller?
get and post are in all other classes present.
i tried to call it, even to extend, but nothing changed, so i removed it, code still runs fine.
imho it seems to be  unused, if im wrong, please let me know why.

ikkez

unread,
Apr 4, 2018, 1:54:57 AM4/4/18
to f3-fra...@googlegroups.com
It's there for a unit test, see https://github.com/bcosca/fatfree/blob/dev/app.ini#L51-L52
and https://github.com/bcosca/fatfree/blob/dev/app/config.php#L72-L75
It could be that the unit test actually completes without the class being defined, but I think it's more clean to have it existing somewhere.
Reply all
Reply to author
Forward
0 new messages