interface template1_ifc{ public function sample1(); public function sample2($var); } interface template2_ifc{ public function sample3(); public function sample4($var); } class Template implements template1_ifc, template2_ifc{ // template1_ifc のメソッド... // template2_ifc のメソッド... }