Update Controller.php

Removed $publicOrProtected variable