Add basic container implementation

This commit is contained in:
johannes.pichler
2020-06-03 22:08:25 +02:00
parent b0680b7e2c
commit 84c9078bb7
4 changed files with 167 additions and 2 deletions

View File

@ -114,6 +114,15 @@
PASS Tests\Unit\Support\Backtrace
✓ it gets file name from called file
PASS Tests\Unit\Support\Container
✓ it exists
✓ it gets an instance
✓ it creates an instance and resolves parameters
✓ it creates an instance and resolves also sub parameters
✓ it can resolve builtin value types
✓ it cannot resolve a parameter that requires additional dependencies
✓ it cannot resolve a parameter without type
PASS Tests\Unit\Support\Reflection
✓ it gets file name from closure
✓ it gets property values
@ -130,5 +139,5 @@
WARN Tests\Visual\Success
s visual snapshot of test suite on success
Tests: 6 skipped, 69 passed
Time: 2.34s
Tests: 6 skipped, 76 passed
Time: 3.32s