File tree Expand file tree Collapse file tree
user_guide_src/source/incoming Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -230,6 +230,13 @@ class so that it can inherit all its methods.
230230Methods
231231=======
232232
233+ Method Visibility
234+ -----------------
235+
236+ When you define a method that is executable via HTTP request, the method must be
237+ declared as ``public ``.
238+
239+ .. warning :: For security reasons be sure to declare any new utility methods as ``protected`` or ``private``.
233240
234241Default Method
235242--------------
@@ -253,8 +260,6 @@ Now load the following URL to see the ``getComment()`` method::
253260
254261You should see your new message.
255262
256- .. warning :: For security reasons be sure to declare any new utility methods as ``protected`` or ``private``.
257-
258263Passing URI Segments to Your Methods
259264====================================
260265
You can’t perform that action at this time.
0 commit comments