private function groupableVision(Groupable $group, $where, $value, $name, $querymap = null) : Groupable
  {
    if (strpos($where, '__') !== false) {
      $querymap = explode('__', $where)[1];
      $field = explode('__', $where)[0];
    }

    if (isset(HttpFoundation::$routeModelBinding['groupable'][$querymap])) {
      return (new HttpFoundation::$routeModelBinding['groupable'][$querymap])->persist($group, $field, $value, $name);
    }

    return $group;
  }
private function groupableVision(Groupable $group, $where, $value, $name, $querymap = null) : Groupable
  {
    if (strpos($where, '__') !== false) {
      $querymap = explode('__', $where)[1];
      $field = explode('__', $where)[0];
    }

    if (isset(HttpFoundation::$routeModelBinding['groupable'][$querymap])) {
      return (new HttpFoundation::$routeModelBinding['groupable'][$querymap])->persist($group, $field, $value, $name);
    }

    return $group;
  }
private function groupableVision ( Groupable $ group , $ where , $ value , $ name , $ querymap = null ) : Groupable { if ( strpos ( $ where , '__' ) !== false ) { $ querymap = explode ( '__' , $ where ) [ 1 ] ; $ field = explode ( '__' , $ where ) [ 0 ] ; } if ( isset ( HttpFoundation :: $ routeModelBinding [ 'groupable' ] [ $ querymap ] ) ) { return ( new HttpFoundation :: $ routeModelBinding [ 'groupable' ] [ $ querymap ] ) -> persist ( $ group , $ field , $ value , $ name ) ; } return $ group ; }
Run route model binding for groupables

@param Groupable $group
@param mixed $where
@param mixed $value
@param mixed $querymap
@return void
Run route model binding for groupables