original_string: public function validate(array $data)
      {
          try {
              $messages = $this->validateArray($data, $this->nested);
  
          } catch (\RuntimeException $e) {
              throw (new ValidationException($e->getMessage(), $e->getCode(), $e))->setMessages();
          }
  
          if (!empty($messages)) {
              throw (new ValidationException())->setMessages($messages);
          }
      }
code: public function validate(array $data)
      {
          try {
              $messages = $this->validateArray($data, $this->nested);
  
          } catch (\RuntimeException $e) {
              throw (new ValidationException($e->getMessage(), $e->getCode(), $e))->setMessages();
          }
  
          if (!empty($messages)) {
              throw (new ValidationException())->setMessages($messages);
          }
      }
code_tokens: public function validate ( array $ data ) { try { $ messages = $ this -> validateArray ( $ data , $ this -> nested ) ; } catch ( \ RuntimeException $ e ) { throw ( new ValidationException ( $ e -> getMessage ( ) , $ e -> getCode ( ) , $ e ) ) -> setMessages ( ) ; } if ( ! empty ( $ messages ) ) { throw ( new ValidationException ( ) ) -> setMessages ( $ messages ) ; } }
docstring: Validate data against blueprints.
  
  @param  array $data
  @throws \RuntimeException
docstring_tokens: Validate data against blueprints .