Beispiel #1
0
 /**
  * Check if a behavior with the given alias has been loaded.
  *
  * @param string $name The behavior alias to check.
  * @return bool Whether or not the behavior exists.
  */
 public function hasBehavior($name)
 {
     return $this->_behaviors->has($name);
 }