Skip to content
This repository has been archived by the owner on Oct 19, 2021. It is now read-only.

Add a ClientFactory helper #86

Closed
swichers opened this issue Oct 1, 2020 · 0 comments
Closed

Add a ClientFactory helper #86

swichers opened this issue Oct 1, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@swichers
Copy link
Owner

swichers commented Oct 1, 2020

It's clunky to create a client object currently. You must prep a Symfony configuration array, grab the services container with that configuration, and then get the client service from it. We should be able to get a client much more easily, and let advanced users work with the Symfony container if they really need to.

swichers added a commit that referenced this issue Oct 1, 2020
swichers added a commit that referenced this issue Oct 1, 2020
swichers added a commit that referenced this issue Oct 1, 2020
)

* Fixes #86: Add several ways to create a client. Deprecate old ways.

* Issue #86: Pull normalization into setEnvironment method.

* Issue #86: Fix docblock comment.

* Issue #86: Adjust phpcs deprecation formatting checks.

* Issue #86: Only strip starting numbers.
@swichers swichers closed this as completed Oct 1, 2020
@swichers swichers added the enhancement New feature or request label Oct 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant