class Foo { abstract function bar (); }
こう返します:
PHP Fatal error: Class Foo contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Foo::bar) in /var/www/html/index.php on line 5
implement the remaining methodsの意味は何でしょう?どのようにしたらいいのでしょうか?
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2014/10/21 00:52