original_string: protected function after_create() {
          $cache = \cache::make('tool_dataprivacy', 'purpose');
          $cache->set($this->get('id'), $this->to_record());
      }
code: protected function after_create() {
          $cache = \cache::make('tool_dataprivacy', 'purpose');
          $cache->set($this->get('id'), $this->to_record());
      }
code_tokens: protected function after_create ( ) { $ cache = \ cache :: make ( 'tool_dataprivacy' , 'purpose' ) ; $ cache -> set ( $ this -> get ( 'id' ) , $ this -> to_record ( ) ) ; }
docstring: Adds the new record to the cache.
  
  @return null
docstring_tokens: Adds the new record to the cache .