/** * Constructor. * The tag manager offers an easy way to quickly implement basic tagging * functionality. * * @param ToolBox $toolbox */ public function __construct(ToolBox $toolbox) { $this->toolbox = $toolbox; $this->redbean = $toolbox->getRedBean(); $this->associationManager = $this->redbean->getAssociationManager(); }