RedBeanPHP\AssociationManager::__construct PHP Method

__construct() public method

Constructor
public __construct ( ToolBox $tools )
$tools ToolBox toolbox
    public function __construct(ToolBox $tools)
    {
        $this->oodb = $tools->getRedBean();
        $this->adapter = $tools->getDatabaseAdapter();
        $this->writer = $tools->getWriter();
        $this->toolbox = $tools;
    }