diff --git a/composer.json b/composer.json index 5bd452f..7753974 100644 --- a/composer.json +++ b/composer.json @@ -26,8 +26,12 @@ "config": { "sort-packages": true }, + "provide": { + "phpolar/property-injector-contract-implementation": "^1.0" + }, "require": { "php": ">=8.1", + "phpolar/property-injector-contract": "^1.0", "psr/container": "^2.0" }, "license": "MIT", diff --git a/composer.lock b/composer.lock index 484304e..eb976dc 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,48 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "e17b4de0951f7d8095f23ed30886d120", + "content-hash": "1f6d6b25435e5a6e0fd2cfa3009aca00", "packages": [ + { + "name": "phpolar/property-injector-contract", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/phpolar/property-injector-contract.git", + "reference": "77b00a75c5029a7e5485a016643419d882f3dcab" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpolar/property-injector-contract/zipball/77b00a75c5029a7e5485a016643419d882f3dcab", + "reference": "77b00a75c5029a7e5485a016643419d882f3dcab", + "shasum": "" + }, + "suggest": { + "phpolar/property-injector": "A property injection implementation" + }, + "type": "library", + "autoload": { + "psr-4": { + "Phpolar\\PropertyInjectorContract\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Eric Fortmeyer", + "email": "e.fortmeyer01@gmail.com" + } + ], + "description": "Unifies property injector implementations.", + "support": { + "issues": "https://github.com/phpolar/property-injector-contract/issues", + "source": "https://github.com/phpolar/property-injector-contract/tree/1.0.0" + }, + "time": "2023-08-21T16:09:08+00:00" + }, { "name": "psr/container", "version": "2.0.2", diff --git a/docs/classes/Phpolar-PropertyInjector-PropertyInjector.html b/docs/classes/Phpolar-PropertyInjector-PropertyInjector.html index 6e012e2..d45ae04 100644 --- a/docs/classes/Phpolar-PropertyInjector-PropertyInjector.html +++ b/docs/classes/Phpolar-PropertyInjector-PropertyInjector.html @@ -106,13 +106,16 @@
Attempts to inject the dependency into -the marked property using the configured -dependency id.
+{@inheritdoc}
public
inject(object $injectee) : void
-
+ Attempts to inject the dependency into +the marked property using the configured +dependency id.
+