Repository methods must be protected.

Removed the check that ensures that Repository methods must be protected.
This was done since this limits the ability to define interfaces for use with Repositories.
PHP interface methods must be declared as public, which clashes with the framework limitation that the methods must be protected.