protected function makeModel(TreeScope $scope){

        $model = clone $this->treeModelPrototype;
        $model->setRootId($scope->getModelRootId());
        $model->setPathPrefix($scope->getPathPrefix());

        return $model;

    }
protected function makeModel(TreeScope $scope){

        $model = clone $this->treeModelPrototype;
        $model->setRootId($scope->getModelRootId());
        $model->setPathPrefix($scope->getPathPrefix());

        return $model;

    }
protected function makeModel ( TreeScope $ scope ) { $ model = clone $ this -> treeModelPrototype ; $ model -> setRootId ( $ scope -> getModelRootId ( ) ) ; $ model -> setPathPrefix ( $ scope -> getPathPrefix ( ) ) ; return $ model ; }
Make a sitetree model

@param \Cmsable\Routing\TreeScope\TreeScope $scope
@return \Cmsable\Model\SiteTreeModelInterface
Make a sitetree model