original_string: protected function clearDynamic(array &$data)
      {
          if (!$this->schema->dynamic) {
              $data = array_intersect_key($data, $this->schema->fields);
          }
      }
code: protected function clearDynamic(array &$data)
      {
          if (!$this->schema->dynamic) {
              $data = array_intersect_key($data, $this->schema->fields);
          }
      }
code_tokens: protected function clearDynamic ( array & $ data ) { if ( ! $ this -> schema -> dynamic ) { $ data = array_intersect_key ( $ data , $ this -> schema -> fields ) ; } }
docstring: If the schema is not dynamic, remove all non specified fields.
  
  @param array $data Reference of the fields. The passed array will be modified.
docstring_tokens: If the schema is not dynamic remove all non specified fields .