搜尋

首頁  >  問答  >  主體

抽象方法後面有個: int 是什麼作用呢

abstract protected function setModel(): string;

這:string的用法又是什麼呢,有沒有關於這個的文章

在学php了在学php了936 天前699

全部回覆(1)我來回復

  • autoload

    autoload2022-07-18 15:50:48

    設定函數回傳值必須是 string

    回覆
    1
  • 取消回覆