Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
PhpStorm がコンストラクターの戻り値の型の前にスラッシュを追加する特定の理由はありますか?
class MyTest { /** * Constructor * * @return \MyTest **/ public function __construct(){} }
PHPDoc 自体の中で特別な意味がありますか? それとも、特定の IDE 機能ですか?
これは基本的MyTestにグローバルに存在することを意味しますnamespace。
MyTest
namespace