https://github.com/violinist-dev/process-factory
https://github.com/violinist-dev/process-factory
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/violinist-dev/process-factory
- Owner: violinist-dev
- License: mit
- Created: 2019-02-09T19:59:08.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-09-11T05:58:58.000Z (10 months ago)
- Last Synced: 2025-03-21T02:51:18.060Z (4 months ago)
- Language: PHP
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# process-factory
[](https://github.com/violinist-dev/process-factory/actions/workflows/test.yml)
[](https://packagist.org/packages/violinist-dev/process-factory)
[](https://packagist.org/packages/violinist-dev/process-factory)An interface for creating process factories.
One might need this for interoperability between libraries that all have process factories. Similar to what you need the `psr/log` LoggerInterface for.
Process in this context would mean an instance of `symfony/process`.
## Installation
```
composer require violinist-dev/process-factory
```## Usage
Well, just expect an interface, or implement it yourself. The interface is fairly simple, and [can bee seen here](https://github.com/violinist-dev/process-factory/blob/master/src/ProcessFactoryInterface.php).