original_string: public function swrite($severity, $value='')
      {
          if(sizeof($this->cache) == $this->messageLimit) {
              array_shift($this->cache);
          }
          $this->cache[] = $value;
      }
code: public function swrite($severity, $value='')
      {
          if(sizeof($this->cache) == $this->messageLimit) {
              array_shift($this->cache);
          }
          $this->cache[] = $value;
      }
code_tokens: public function swrite ( $ severity , $ value = '' ) { if ( sizeof ( $ this -> cache ) == $ this -> messageLimit ) { array_shift ( $ this -> cache ) ; } $ this -> cache [ ] = $ value ; }
docstring: Stores messages in the public cache by priority
docstring_tokens: Stores messages in the public cache by priority