diff --git a/language/oop5/interfaces.xml b/language/oop5/interfaces.xml index 5f5a0770d9..d4757e4466 100644 --- a/language/oop5/interfaces.xml +++ b/language/oop5/interfaces.xml @@ -36,6 +36,13 @@ operator. + + + The class implementing the interface must use the exact same method + signatures as are defined in the interface. Not doing so will result in a + fatal error. + + <literal>Constants</literal> @@ -202,10 +209,13 @@ class b implements a ]]> - - See also the instanceof + + An interface, together with type-hinting, provides a good way to make sure + that a particular object contains particular methods. See + instanceof and + type hinting. operator. - +