예제 #1
0
 /**
  * Removes a behavior from this table's behavior registry.
  *
  * Example:
  *
  * Remove a behavior from this table.
  *
  * ```
  * $this->removeBehavior('Tree');
  * ```
  *
  * @param string $name The alias that the behavior was added with.
  * @return void
  * @see \Cake\ORM\Behavior
  */
 public function removeBehavior($name)
 {
     $this->_behaviors->unload($name);
 }