PHP Class Gc\Mvc\Listener\SslListener

Inheritance: extends Zend\EventManager\AbstractListenerAggregate
Show file Open project: gotcms/gotcms

Public Methods

Method Description
attach ( Zend\EventManager\EventManagerInterface $events ) : void Attach events
check ( Zend\EventManager\EventInterface $event ) : null | Zend\Http\PhpEnvironment\Response Check if ssl is forced or not

Method Details

attach() public method

Attach events
public attach ( Zend\EventManager\EventManagerInterface $events ) : void
$events Zend\EventManager\EventManagerInterface Event manager
return void

check() public method

Check if ssl is forced or not
public check ( Zend\EventManager\EventInterface $event ) : null | Zend\Http\PhpEnvironment\Response
$event Zend\EventManager\EventInterface Mvc event
return null | Zend\Http\PhpEnvironment\Response