Пример #1
0
 /**
  * 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();
 }
Пример #2
0
 /**
  * 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();
 }