original_string: public function save(array $data, string $filename)
      {
          if (!is_writeable(dirname($filename))) {
              throw new NeuralyzerConfigurationException(dirname($filename) . ' is not writable.');
          }
  
          file_put_contents($filename, Yaml::dump($data, 4));
      }
code: public function save(array $data, string $filename)
      {
          if (!is_writeable(dirname($filename))) {
              throw new NeuralyzerConfigurationException(dirname($filename) . ' is not writable.');
          }
  
          file_put_contents($filename, Yaml::dump($data, 4));
      }
code_tokens: public function save ( array $ data , string $ filename ) { if ( ! is_writeable ( dirname ( $ filename ) ) ) { throw new NeuralyzerConfigurationException ( dirname ( $ filename ) . ' is not writable.' ) ; } file_put_contents ( $ filename , Yaml :: dump ( $ data , 4 ) ) ; }
docstring: Save the data to the file as YAML
  
  @param array $data
  @param string $filename
  @throws NeuralyzerConfigurationException
docstring_tokens: Save the data to the file as YAML