I am currently passing variabes to the parent controller_base using parent::
Ideally though I'd like to put a statement into the controller_base to grab these variables from the child. So that I don't have to repeat this statement in every controller that I make. How would I do this?
class controller_landing extends controller_base
{
public function __construct($get,$post)
{
parent::__construct($get,$post);
}
}