Skip to content
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (19 sloc) 746 Bytes
return function (PHPCI\Plugin\Util\Factory $factory) {
// This function will be called when the resource is needed.
function() {
return array(
'Foo' => "Stuff",
'Bar' => "More Stuff"
// In addition to the function for building the resource the system
// also needs to be told when to load the resource. Either or both
// of the following arguments can be used (null to ignore)
// This resource will only be given when the argument name is:
// The resource will only be given when the type hint is:
You can’t perform that action at this time.