That’s what I’ve done, too. It’s just that, in my current context, the helper method doesn’t otherwise need access to a Project
or anything else that can get me a Project
, so I wanted to avoid passing or injecting a Project
(or FileCollection
, etc.) if possible.
↧
Creating an empty FileCollection without a Project, and without injecting some object
↧