小编Ami*_*bel的帖子

VS Code 在 php 类中自动生成接口方法?

如何从接口“自动实现”/生成方法到 PHP 类?我想使用VS Code为它

界面 :

interface MyInterface{  public function myMethod($param); }
Run Code Online (Sandbox Code Playgroud)

班级 :

Class MyClass implements MyInterface{
//myMethod should be auto generate by vscode
   public function myMethod($param){

}
}
Run Code Online (Sandbox Code Playgroud)

VS Code 中是否存在此功能?

php methods interface implements visual-studio-code

10
推荐指数
1
解决办法
4778
查看次数

标签 统计

implements ×1

interface ×1

methods ×1

php ×1

visual-studio-code ×1