Interface Packages

All Known Implementing Classes:
JsonPackages

public interface Packages
PHP Composer packages registry.
Since:
0.1
  • Method Details

    • add

      Add package.
      Parameters:
      pack - Package.
      version - Version in case of absence version in package. If package does not contain version, this value should be passed as a parameter.
      Returns:
      Updated packages.
    • save

      CompletionStage<Void> save(Storage storage, Key key)
      Saves packages registry binary content to storage.
      Parameters:
      storage - Storage to use for saving.
      key - Key to store packages.
      Returns:
      Completion of saving.
    • content

      Reads packages registry binary content.
      Returns:
      Content.