public function homeAction(Bar $bar) { return $bar->hello(); }
<?php namespace Foo; use Foo\Bar; $varClass = 'Foo\\Bar'; $varClass2 = '\\Foo\\Ify'; \Foo\Bar::Hello();
public function testBar() { $bar = new Bar(); $this->assertEquals('sim', $bar->fooBar('sim')); }