How can i "auto implement"/generate methods from interfaces into PHP classes? I wanna use VS Code for it
interface :
interface MyInterface{ public function myMethod($param); }
class :
Class MyClass implements MyInterface{
//myMethod should be auto generate by vscode
public function myMethod($param){
}
}
does this feature exist in VS Code?
VSCode doesn't support this out of the box for PHP. For what I know, this is not available through any of the existing PHP plugins like PHP Intelephense or PHP IntelliSense. PHP Intelephense does autocomplete methods from implemented interfaces though.