PHP învechit: metodele cu același nume ca și clasa lor nu vor fi Constructori într-o versiune viitoare a PHP
//From
public function TSStatus($host, $queryPort);
//to
public function __construct($host, $queryPort);
doest toate methos în interfață trebuie să pună în aplicare c#
You have two choices:
- implement every method required by the interface
or
- declare the missing methods abstract in your class. This forces you
to declare your class abstract and, as a result, forces you to
subclass the class (and implement the missing methods) before you
can create any objects.