Fixed brackets line breaks
Added snippets for public, protected and private functions