A
A
Andrew2016-05-25 16:46:15
IDE
Andrew, 2016-05-25 16:46:15

How to make phpStorm have automatic substitution of magic methods?

I don’t have auto-completion of magic methods, of course, it doesn’t interfere much, but in one lesson I recently saw that auto-completion works for a teacher and somehow it became a shame. Want that too. Tell me, please, how to turn it on?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Novikov, 2016-05-25
@ntzch

In order for PhpStrom's magic methods to be auto-inverted, they must be declared in PHPDoc via @method .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question