public function __construct($userID) { $this->SQLData = BackendMainMenu::getBackendMainMenuTree($userID); $this->model = 'App\\Models\\System\\BackendMainMenu'; $this->primaryKey = "backend_main_menu_id"; }