Permalink
Browse files

add documentation and fix typos

  • Loading branch information...
AD7six committed Nov 6, 2013
1 parent be2d456 commit da5d343aa7c9258c54dbd5e917cc92b3618a033e
Showing with 7 additions and 3 deletions.
  1. +7 −3 Cake/ORM/Behavior.php
View
@@ -99,7 +99,7 @@ class Behavior implements EventListener {
*
* @var array
*/
protected static $_reflectionMethods;
protected static $_reflectionMethods = [];
/**
* Contains configuration settings.
@@ -176,7 +176,7 @@ public function implementedEvents() {
*
* [
* 'this' => 'findThis',
* 'alias' => 'findMmethodName'
* 'alias' => 'findMethodName'
* ]
*
* With the above example, a call to `$Table->find('this')` will call `$Behavior->findThis()`
@@ -226,7 +226,11 @@ public function implementedMethods() {
}
/**
* _reflectionmethods
* Get the methods implemented by this behavior
*
* Use the implementedEvents() method to exclude callback methods.
* Methods starting with `_` will be ignored, as will methods
* declared on Cake\ORM\Behavior
*
* @return array
*/

0 comments on commit da5d343

Please sign in to comment.