Skip to content

Commit

Permalink
cleancode
Browse files Browse the repository at this point in the history
  • Loading branch information
ueaner committed May 10, 2018
1 parent 6645a6f commit 6b6998c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Di/Container.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ class Container implements ContainerInterface, \ArrayAccess
*/
protected static $services = [];

/**
* The container's instances.
*
* @var array
*/
protected $instances = [];

/**
* 存储 getShared 方法返回的服务实例(服务定义的执行结果)
*
Expand Down

0 comments on commit 6b6998c

Please sign in to comment.