public function __construct(ToolBox $toolbox) { $this->toolbox = $toolbox; $this->redbean = $toolbox->getRedBean(); }