public function delete($key) {
    $directory = $this->environment->getHooksDirectory();
    $data_file = "$directory/{$key}_processed.php";

    if (file_exists($data_file)) {
      unlink($data_file);
    }
  }