public function __construct(array $tree = null, array $config = null) { $this->setTree($tree); $this->setConfig($config); }