danwdart / projectchaplin

Free and Open Source Video Sharing Platform
GNU Affero General Public License v3.0
24 stars 11 forks source link

Class annotations? #192

Open danwdart opened 6 years ago

danwdart commented 6 years ago

Maybe we should annotate which methods/classes are used by projects Some methods and classes are used by projects, and some are not.

We should be able to annotate so that we know we're not breaking anything and we know what's an internal/external "API" if we want to change anything in the common code.

I'm sure there's something cleverer but maybe something like @usedby or @friend.

Sadly classes cannot be marked as friends, or I'd use it for controllers (i.e. Model Something friend Controller).

This could also help for code coverage somehow. this is too tightly coupled to be defined