Search code examples
phpxmltargetphing

How to hide some phing targets from xml


i have about 25 phing targets, when i list them in the console.

But 5 of them are just needed by other targets and i will never trigger them alone.

is there a possibility to hide them?

For example:

There are the targets: cms.cc cc-config cc-content cc-service

The all pop up in my list, but "cc"-target is the only one i will trigger.

Thank you!


Solution

  • I didn't test it myself, but according a testcase I found via Google I guess, that there is a (not documented) attribute hidden

    <target hidden="true" />