Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

PHP OOP - Interfaces

<?php
interface InterfaceName {
  public function someMethod1();
  public function someMethod2($name, $color);
  public function someMethod3() : string;
}
?>
 
PREVIOUS NEXT
Tagged: #PHP #OOP #Interfaces
ADD COMMENT
Topic
Name
5+3 =