Visibility php docs

some for visibility and phpdocs improvements for plugin controller