function testDuck(Duck $duck) { $duck->quack(); $duck->fly(); }
public function gobble() { $this->duck->quack(); }