<p>Am 15.07.2015 09:27 schrieb "Graeme Geldenhuys" <<a href="mailto:mailinglists@geldenhuys.co.uk">mailinglists@geldenhuys.co.uk</a>>:<br>
><br>
> On 2015-07-15 05:06, David Emerson wrote:<br>
> > So... since t_fancy_class implements the interface i_foo, why is<br>
> > t_fancy_class.foo not available?<br>
><br>
> Because you told it a property named "hook" implements it, so you need<br>
> to call it as follows:<br>
><br>
> fc.hook.foo;</p>
<p>"implements" should avoid the need for this. It merely tells the compiler to look for methods using that property. The property could even be protected or private and it should still work as long as the containing class has the interface in its parent list.</p>
<p>Regards,<br>
Sven</p>