I’m trying to figure out a good way to document controller actions in a php mvc framework. It’s really important to me that there is a way to stick the url for the action in there, my problem is that I cant seem to find a way to fit that into the schema for phpdoc.
Share
I don’t really understand your problem/question. You can put whatever you want to in a phpdoc block, including the relevant URL for a controller action (you can even use markup if you want):
That said, if you specifically want to use a custom tag like
@urlor something, then you just need to use the-ctcommand-line option to tell phpdoc that you don’t want it throwing parse errors when it comes across your custom tag(s):