This repository has been archived by the owner on Jan 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/documentation'
- Loading branch information
Showing
19 changed files
with
668 additions
and
580 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,9 @@ | |
.*.sw* | ||
.*.un~ | ||
nbproject | ||
doc/html/ | ||
tmp/ | ||
zf-mkdoc-theme/ | ||
|
||
clover.xml | ||
composer.lock | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Configuration | ||
|
||
Most of the configuration for both the setup of `Definition`s as well as the | ||
setup of the `InstanceManager` can be attained by a configuration file. This | ||
file will produce an array (typically) and have an iterable structure. | ||
|
||
The top two keys are 'definition' and 'instance', each specifying values for | ||
the definition setup and instance manager setup, respectively. | ||
|
||
The definition section expects the following information expressed as a PHP | ||
array: | ||
|
||
```php | ||
$config = [ | ||
'definition' => [ | ||
'compiler' => [/* @todo compiler information */], | ||
'runtime' => [/* @todo runtime information */], | ||
'class' => [ | ||
'instantiator' => '', // the name of the instantiator, by default this is __construct | ||
'supertypes' => [], // an array of supertypes the class implements | ||
'methods' => [ | ||
'setSomeParameter' => [ // a method name | ||
'parameterName' => [ | ||
'name', // string parameter name | ||
'type', // type or null | ||
'is-required', // bool | ||
), | ||
), | ||
), | ||
), | ||
), | ||
); | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.