Re: PHP5 interfaces?

From: Date: Tue, 23 Sep 2003 11:07:25 +0000
Subject: Re: PHP5 interfaces?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-163568@lists.php.net to get a copy of this message
Javier Muniz wrote:
interface BoardMember {
    function position(); // used to set board position of board member
} interface Employee {
    function position();  // used to set job title of employee
} class BusyBoardMember implements Employee, BoardMember {
    function position();  // what does this function do? ambiguous unless I
am missing something }
It is not ambiguous, you should implement the function here.

« previous php.general (#163568) next »