abf8d25054c9c9c53ac705edfc7e10d0f5c6cb6a
4 * @copyright 2013 Internet Brands, Inc. All Rights Reserved.
6 namespace Domain\Entities
;
11 * @author Michael Funk <mfunk@internetbrands.com>
17 * This just holds the injected instance of Bar
18 * @var MikeFunk\Test\Bar
23 * inject Bar into $bar and then $this->bar with type hinting. The Bar
24 * class is bound to the BarInterface in config/di.yml
28 public function __construct(BarInterface
$bar)
34 * Just return the string from Bar::returnMe()
38 public function returnMe()
40 return $this->bar
->returnMe();