-
☆ A M B ☆
- 24,524 Posts
Here's one for all of you PhpStorm users.
I'm working on developing a custom TV to use for multi-language sites (something like Evo's YAMS, as an alternative to using contexts and Babel).
On working through the "Adding a Custom TV Type" tutorial on the rtfm, I found that I have a number of options when creating a new file in PhpStorm. One of these is Php Class. The form that opens up has a number of fields, most of which are fairly clear to me. But would the "namespace" be the same namespace I set up in the Manager?
Guessing again, but I don't think it matters. I think that would be used by PhpStorm for the new PHP namespace support, which would have nothing to do with MODX namespaces (at least in the current version of MODX). I think the only value of it in PhpStorm would be that you can change the namespace when refactoring classes in PhpStorm, which I've never done. I could be wrong.
You might as well make it the same as the MODX namespace in case MODX starts using PHP namespacing.