original_string: protected function resolveDataProviderValue($dataProvider)
      {
          preg_match("/(.*)@(.*)/", $dataProvider, $matches);
          if (!isset($matches[1]) and ! isset($matches[2])) {
              return false;
          }
          if (!class_exists($matches[1])) {
              return false;
          }
          try {
              $instance = app($matches[1]);
              $return   = call_user_func_array([$instance, $matches[2]], []);
              if ($return instanceof Builder) {
                  return $return->get()->toArray();
              }
              if ($return instanceof Collection) {
                  return $return->toArray();
              }
              return $return;
          } catch (Exception $ex) {
              return false;
          }
      }
code: protected function resolveDataProviderValue($dataProvider)
      {
          preg_match("/(.*)@(.*)/", $dataProvider, $matches);
          if (!isset($matches[1]) and ! isset($matches[2])) {
              return false;
          }
          if (!class_exists($matches[1])) {
              return false;
          }
          try {
              $instance = app($matches[1]);
              $return   = call_user_func_array([$instance, $matches[2]], []);
              if ($return instanceof Builder) {
                  return $return->get()->toArray();
              }
              if ($return instanceof Collection) {
                  return $return->toArray();
              }
              return $return;
          } catch (Exception $ex) {
              return false;
          }
      }
code_tokens: protected function resolveDataProviderValue ( $ dataProvider ) { preg_match ( "/(.*)@(.*)/" , $ dataProvider , $ matches ) ; if ( ! isset ( $ matches [ 1 ] ) and ! isset ( $ matches [ 2 ] ) ) { return false ; } if ( ! class_exists ( $ matches [ 1 ] ) ) { return false ; } try { $ instance = app ( $ matches [ 1 ] ) ; $ return = call_user_func_array ( [ $ instance , $ matches [ 2 ] ] , [ ] ) ; if ( $ return instanceof Builder ) { return $ return -> get ( ) -> toArray ( ) ; } if ( $ return instanceof Collection ) { return $ return -> toArray ( ) ; } return $ return ; } catch ( Exception $ ex ) { return false ; } }
docstring: resolve notification variable value from data provider
  
  @param mixed $dataProvider
  @return boolean|Collection
docstring_tokens: resolve notification variable value from data provider