/** * Sets the toolbox to be used by graph() * * @param RedBean_Toolbox $toolbox toolbox * * @return void */ public function setToolbox(RedBean_Toolbox $toolbox) { $this->toolbox = $toolbox; $this->redbean = $this->toolbox->getRedbean(); }
/** * Sets the toolbox to be used by graph() * * @param RedBean_Toolbox $toolbox toolbox * * @return void */ public function setToolbox(Toolbox $toolbox) { self::$toolbox = $toolbox; self::$redbean = self::$toolbox->getRedbean(); }