Advanced MetaData + factory methods example?
Hi,
I tried to get the PHPSTORM_META defintions for defining factory methods to work in one of my projects, but it doesn't appear to be doing anything.
Is there a downloadable example project for it anywhere?
cheers
Dan
Please sign in to leave a comment.
Works OK for me

Attachment(s):
MetaFactoryStatic.zip
Thanks Andriy,
I'd missed off the first \ on my class definitions so PHPStorm was looking for the classes as a sub-namespace of PHPSTORM_META which is why it couldn't find them.
Also it seems the MetaData was only picked up after re-opening a project.
cheers
Dan
I've also had the same impression -- it did not worked when I just created metadata file, but after re-opening the project it all started to work just fine.