You should only create a standalone Type if the Type needs to be shared by more than
one Task. If the Type is only needed for a specific Task -- for example to handle a
special parameter or other tag needed for that Task -- then the Type class should just
be defined within the same file as the Task. (For example,
phing/filters/XSLTFilter.php
also includes an
XSLTParam
class that is not used anywhere else.)
For cases where you do need a more generic Type defined, you can create your own Type class -- similar to the way a Task is created.