From a74109b0a5ee92990e5f6795bd61e97cd24b1495 Mon Sep 17 00:00:00 2001 From: Fery Wardiyanto Date: Wed, 26 May 2021 20:01:14 +0700 Subject: [PATCH] feat: mark ArrayContainer & PropertyContainer as deprecated Will try to create some sort of ContainerBuilder in the future, to configure Container instead. No ETA, sorry Signed-off-by: Fery Wardiyanto --- src/Container/ArrayContainer.php | 2 ++ src/Container/PropertyContainer.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/Container/ArrayContainer.php b/src/Container/ArrayContainer.php index 86fc623..2f4d918 100644 --- a/src/Container/ArrayContainer.php +++ b/src/Container/ArrayContainer.php @@ -17,6 +17,8 @@ * return new SomeClass($container['db']); * }); * ``` + * + * @deprecated Since v0.6 */ final class ArrayContainer extends AbstractContainerAware implements \ArrayAccess { diff --git a/src/Container/PropertyContainer.php b/src/Container/PropertyContainer.php index 4f1061a..2386d0c 100644 --- a/src/Container/PropertyContainer.php +++ b/src/Container/PropertyContainer.php @@ -17,6 +17,8 @@ * return new SomeClass($container->db); * }); * ``` + * + * @deprecated Since v0.6 */ final class PropertyContainer extends AbstractContainerAware {