PHP接口使用

<?php

interface IEmployee

   {

   		function working();

   }

   

   interface IDeveloper

   {

   		function Coding();

   }

   

   class Person implements IEmployee,IDeveloper

   {

   		function working()

   		{}

   		

   		function Coding(){}

   }

?>

 

你可能感兴趣的:(PHP)