mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX for #5299 Adding <code> blocks to Injector documentation.
This commit is contained in:
parent
4ea0c92c3c
commit
707aa14c6c
@ -64,6 +64,7 @@ use SilverStripe\Framework\Injector\Factory;
|
|||||||
*
|
*
|
||||||
* Specify a configuration array of the format
|
* Specify a configuration array of the format
|
||||||
*
|
*
|
||||||
|
* <code>
|
||||||
* array(
|
* array(
|
||||||
* array(
|
* array(
|
||||||
* 'id' => 'BeanId', // the name to be used if diff from the filename
|
* 'id' => 'BeanId', // the name to be used if diff from the filename
|
||||||
@ -96,6 +97,7 @@ use SilverStripe\Framework\Injector\Factory;
|
|||||||
* // or simply
|
* // or simply
|
||||||
* 'OtherBean' => 'SomeClass',
|
* 'OtherBean' => 'SomeClass',
|
||||||
* )
|
* )
|
||||||
|
* </code>
|
||||||
*
|
*
|
||||||
* In addition to specifying the bindings directly in the configuration,
|
* In addition to specifying the bindings directly in the configuration,
|
||||||
* you can simply create a publicly accessible property on the target
|
* you can simply create a publicly accessible property on the target
|
||||||
|
Loading…
Reference in New Issue
Block a user