original_string: protected function checkRequired()
      {
          $errors = new Exceptions();
          foreach ($this->getRequiredKeys() as $required) {
              if (!isset($this->$required)) {
                  $errors->add(new Exception('Required property "' . $required . '" is missing'));
              }
          }
          if (!$errors->empty()) {
              throw $errors;
          }
          return true;
      }
code: protected function checkRequired()
      {
          $errors = new Exceptions();
          foreach ($this->getRequiredKeys() as $required) {
              if (!isset($this->$required)) {
                  $errors->add(new Exception('Required property "' . $required . '" is missing'));
              }
          }
          if (!$errors->empty()) {
              throw $errors;
          }
          return true;
      }
code_tokens: protected function checkRequired ( ) { $ errors = new Exceptions ( ) ; foreach ( $ this -> getRequiredKeys ( ) as $ required ) { if ( ! isset ( $ this -> $ required ) ) { $ errors -> add ( new Exception ( 'Required property "' . $ required . '" is missing' ) ) ; } } if ( ! $ errors -> empty ( ) ) { throw $ errors ; } return true ; }
docstring: Checks if all required properties are set
  @return bool
  @throws \Runn\Core\Exceptions
docstring_tokens: Checks if all required properties are set