Skip to content

Instantly share code, notes, and snippets.

@0xrin1
Last active November 26, 2019 23:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 0xrin1/e943ad6dd8aa3c0f39a968869a5505c0 to your computer and use it in GitHub Desktop.
Save 0xrin1/e943ad6dd8aa3c0f39a968869a5505c0 to your computer and use it in GitHub Desktop.
notsosmortin
use \Blah\Blah;
class SomeController {
public function __construct(Blah $blah)
{
// here $blah is basically coming through as if $blah = new Blah(), right?
// how the fuck is that done?
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment