Skip to content

Instantly share code, notes, and snippets.

@dawehner
Last active September 9, 2016 16:45
Show Gist options
  • Select an option

  • Save dawehner/2df17af766d5c8f0b6654f30665a21f0 to your computer and use it in GitHub Desktop.

Select an option

Save dawehner/2df17af766d5c8f0b6654f30665a21f0 to your computer and use it in GitHub Desktop.
<?php
class MYPlugin {
public function __construct(Config $a, Config $b);
}
$parameters = ['a' => $config_b, 'b' => $config_a];
->getMyPlugin($parameters)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment