original_string: public function pass($asString = false)
      {
          if (!$this->_checked) {
              $this->check();
          }
  
          if (!$asString) {
              return $this->_pass;
          }
  
          $items = [];
          foreach ($this->_pass as $rule) {
              $items[] = "{$rule}";
          }
  
          return implode(', ', $items);
      }
code: public function pass($asString = false)
      {
          if (!$this->_checked) {
              $this->check();
          }
  
          if (!$asString) {
              return $this->_pass;
          }
  
          $items = [];
          foreach ($this->_pass as $rule) {
              $items[] = "{$rule}";
          }
  
          return implode(', ', $items);
      }
code_tokens: public function pass ( $ asString = false ) { if ( ! $ this -> _checked ) { $ this -> check ( ) ; } if ( ! $ asString ) { return $ this -> _pass ; } $ items = [ ] ; foreach ( $ this -> _pass as $ rule ) { $ items [ ] = "{$rule}" ; } return implode ( ', ' , $ items ) ; }
docstring: Gets all rules marked as PASS.
  
  @param bool $asString True will returns a comma separated string of rules
  @return array|string
docstring_tokens: Gets all rules marked as PASS .