Default visibility of class methods in PHP
Default is public. Class methods may be defined as public, private, or protected. Methods declared without any explicit visibility keyword are defined as public. http://www.php.net/manual/en/language.oop5.visibility.php