Back to ChainedHandler class

Method addHandler

public void
addHandler
(\Joomla\Authentication\Password\HandlerInterface $handler)
Add a handler to the chain
Parameters
  • \Joomla\Authentication\Password\HandlerInterface $handler The password handler to add
Returns
  • void
Since
  • 4.0.0

Method addHandler - Source code

/**
 * Add a handler to the chain
 *
 * @param   HandlerInterface  $handler  The password handler to add
 *
 * @return  void
 *
 * @since   4.0.0
 */
public function addHandler(HandlerInterface $handler)
{
    $this->handlers[] = $handler;
}