original_string: protected function validateOwner()
      {
          $rule = clone $this->getConfig();
          foreach ($this->owner->getRecursiveIterator(RecursiveIteratorIterator::LEAVES_ONLY) as $child) {
              $rule->setOwner($child);
              if (!$rule->validateOwner()) {
                  return false;
              }
          }
          return true;
      }
code: protected function validateOwner()
      {
          $rule = clone $this->getConfig();
          foreach ($this->owner->getRecursiveIterator(RecursiveIteratorIterator::LEAVES_ONLY) as $child) {
              $rule->setOwner($child);
              if (!$rule->validateOwner()) {
                  return false;
              }
          }
          return true;
      }
code_tokens: protected function validateOwner ( ) { $ rule = clone $ this -> getConfig ( ) ; foreach ( $ this -> owner -> getRecursiveIterator ( RecursiveIteratorIterator :: LEAVES_ONLY ) as $ child ) { $ rule -> setOwner ( $ child ) ; if ( ! $ rule -> validateOwner ( ) ) { return false ; } } return true ; }
docstring: Validates the owner's children using the template Rule
  
  @return   bool    Whether all children are valid according to a template Rule
docstring_tokens: Validates the owner s children using the template Rule