Rarst\Fragment_Cache\Plugin::init PHP Метод

init() публичный Метод

Enable registered fragment handlers on init.
public init ( )
    public function init()
    {
        foreach ($this->handlers as $key => $type) {
            if (isset($this[$type])) {
                /** @var Fragment_Cache $handler */
                $handler = $this[$type];
                $handler->enable();
            } else {
                unset($this->handlers[$key]);
            }
        }
    }