code/dispatcher/behavior/authenticatable.php
public function getAuthenticator($authenticator)
    {
        $result = null;

        if(isset($this->__authenticators[$authenticator])) {
            $result = $this->__authenticators[$authenticator];
        }

        return $result;
    }
public function getAuthenticator($authenticator)
    {
        $result = null;

        if(isset($this->__authenticators[$authenticator])) {
            $result = $this->__authenticators[$authenticator];
        }

        return $result;
    }
public function getAuthenticator ( $ authenticator ) { $ result = null ; if ( isset ( $ this -> __authenticators [ $ authenticator ] ) ) { $ result = $ this -> __authenticators [ $ authenticator ] ; } return $ result ; }
Get an authenticator by identifier

@param   mixed $authenticator An object that implements ObjectInterface, ObjectIdentifier object
or valid identifier string
@return DispatcherAuthenticatorInterface|null
Get an authenticator by identifier