https://github.com/tobento-ch/service-resolver-container
Container resolver implementation.
https://github.com/tobento-ch/service-resolver-container
Last synced: 3 months ago
JSON representation
Container resolver implementation.
- Host: GitHub
- URL: https://github.com/tobento-ch/service-resolver-container
- Owner: tobento-ch
- License: mit
- Created: 2022-01-15T18:37:31.000Z (over 3 years ago)
- Default Branch: 1.x
- Last Pushed: 2023-11-29T18:27:31.000Z (over 1 year ago)
- Last Synced: 2025-02-28T23:46:52.042Z (4 months ago)
- Language: PHP
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Resolver Container Service
Resolver container implementation.
## Table of Contents
- [Getting started](#getting-started)
- [Requirements](#requirements)
- [Highlights](#highlights)
- [Documentation](#documentation)
- [Resolver Factory](#resolver-factory)
- [Credits](#credits)
___# Getting started
Add the latest version of the autowire service running this command.
```
composer require tobento/service-resolver-container
```## Requirements
- PHP 8.0 or greater
## Highlights
- Framework-agnostic, will work with any project
# Documentation
## Resolver Factory
```php
use Tobento\Service\ResolverContainer\ResolverFactory;
use Tobento\Service\Resolver\ResolverFactoryInterface;
use Tobento\Service\Resolver\ResolverInterface;$resolverFactory = new ResolverFactory();
var_dump($resolverFactory instanceof ResolverFactoryInterface);
// bool(true)// create resolver
$resolver = $resolverFactory->createResolver();var_dump($resolver instanceof ResolverInterface);
// bool(true)
```Visit [Resolver Service](https://github.com/tobento-ch/service-resolver) to learn more about the resolver.
# Credits
- [Tobias Strub](https://www.tobento.ch)
- [All Contributors](../../contributors)