/** * Constructor, * creates a new instance of DupManager. * @param RedBean_Toolbox $toolbox */ public function __construct(RedBean_Toolbox $toolbox) { $this->toolbox = $toolbox; $this->redbean = $toolbox->getRedBean(); $this->associationManager = $this->redbean->getAssociationManager(); }