Skip to content

Commit

Permalink
note about testing
Browse files Browse the repository at this point in the history
  • Loading branch information
euromark committed Jul 10, 2013
1 parent 75c733a commit 3be5084
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en/contributing/cakephp-coding-conventions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ Private methods or variable names start with double underscore ("\_\_"). Example

Try to avoid private methods or variables, though, in favor of protected ones.
The latter can be accessed or modified by subclasses, whereas private ones
prevent extension or re-use.
prevent extension or re-use. Private visibility also makes testing much more difficult.

Method Chaining
---------------
Expand Down

0 comments on commit 3be5084

Please sign in to comment.