Skip to content

Commit

Permalink
feat: mark ArrayContainer & PropertyContainer as deprecated
Browse files Browse the repository at this point in the history
Will try to create some sort of ContainerBuilder in the future, to configure Container instead. No ETA, sorry

Signed-off-by: Fery Wardiyanto <ferywardiyanto@gmail.com>
  • Loading branch information
feryardiant committed May 26, 2021
1 parent 1ed2748 commit a74109b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Container/ArrayContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
* return new SomeClass($container['db']);
* });
* ```
*
* @deprecated Since v0.6
*/
final class ArrayContainer extends AbstractContainerAware implements \ArrayAccess
{
Expand Down
2 changes: 2 additions & 0 deletions src/Container/PropertyContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
* return new SomeClass($container->db);
* });
* ```
*
* @deprecated Since v0.6
*/
final class PropertyContainer extends AbstractContainerAware
{
Expand Down

0 comments on commit a74109b

Please sign in to comment.