Previously I used:
Code: Select all
public function __construct (jmt_iView $view, $folder, &$history, $root, $parent)after making some changes today, I accidentaly discovered:
Code: Select all
public function __construct (jmt_View $view, $folder, &$history, $root, $parent)So other than creating an 'easy read' list of functions and other details of the class, why do we need interfaces?
Genuine question, as I do know they were invented for a reason, but at the moment I can't see that reason