spl_autoload_register can access private function in class