code: public function create($path, $fileName, array $data = [])
      {
          $file = $this->getFile($path, $fileName);
  
          if (!file_exists($path)) {
              mkdir($path, 0775);
          }
          if (!file_exists($file)) {
              $fichier = fopen($file, 'w+');
              fwrite($fichier, serialize($data));
  
              return fclose($fichier);
          }
  
          return false;
      }
docs: {@inheritDoc}