mirror of
https://github.com/mbierlee/poodinis.git
synced 2024-11-15 04:04:01 +01:00
Use elipses to pretend there's implementation
This commit is contained in:
parent
e3009929a5
commit
a9bbb24fcd
|
@ -63,7 +63,7 @@ class DependencyContainer {
|
||||||
* Examples:
|
* Examples:
|
||||||
* Register and resolve a class by concrete type:
|
* Register and resolve a class by concrete type:
|
||||||
* ---
|
* ---
|
||||||
* class Cat : Animal {}
|
* class Cat : Animal { ... }
|
||||||
*
|
*
|
||||||
* container.register!Cat;
|
* container.register!Cat;
|
||||||
*
|
*
|
||||||
|
@ -88,7 +88,7 @@ class DependencyContainer {
|
||||||
* Examples:
|
* Examples:
|
||||||
* Register and resolve by super type
|
* Register and resolve by super type
|
||||||
* ---
|
* ---
|
||||||
* class Cat : Animal {}
|
* class Cat : Animal { ... }
|
||||||
*
|
*
|
||||||
* container.register!(Animal, Cat);
|
* container.register!(Animal, Cat);
|
||||||
*
|
*
|
||||||
|
@ -147,8 +147,8 @@ class DependencyContainer {
|
||||||
* Examples:
|
* Examples:
|
||||||
* Resolve dependencies registered by super type and concrete type:
|
* Resolve dependencies registered by super type and concrete type:
|
||||||
* ---
|
* ---
|
||||||
* class Cat : Animal {}
|
* class Cat : Animal { ... }
|
||||||
* class Dog : Animal {}
|
* class Dog : Animal { ... }
|
||||||
*
|
*
|
||||||
* container.register!(Animal, Cat);
|
* container.register!(Animal, Cat);
|
||||||
* container.register!Dog;
|
* container.register!Dog;
|
||||||
|
@ -158,8 +158,8 @@ class DependencyContainer {
|
||||||
* ---
|
* ---
|
||||||
* You cannot resolve a dependency when it is registered by multiple super types:
|
* You cannot resolve a dependency when it is registered by multiple super types:
|
||||||
* ---
|
* ---
|
||||||
* class Cat : Animal {}
|
* class Cat : Animal { ... }
|
||||||
* class Dog : Animal {}
|
* class Dog : Animal { ... }
|
||||||
*
|
*
|
||||||
* container.register!(Animal, Cat);
|
* container.register!(Animal, Cat);
|
||||||
* container.register!(Animal, Dog);
|
* container.register!(Animal, Dog);
|
||||||
|
@ -189,8 +189,8 @@ class DependencyContainer {
|
||||||
* Examples:
|
* Examples:
|
||||||
* Resolve dependencies registered by super type:
|
* Resolve dependencies registered by super type:
|
||||||
* ---
|
* ---
|
||||||
* class Cat : Animal {}
|
* class Cat : Animal { ... }
|
||||||
* class Dog : Animal {}
|
* class Dog : Animal { ... }
|
||||||
*
|
*
|
||||||
* container.register!(Animal, Cat);
|
* container.register!(Animal, Cat);
|
||||||
* container.register!(Animal, Dog);
|
* container.register!(Animal, Dog);
|
||||||
|
|
Loading…
Reference in a new issue