Documentación offline PHP master

Yaf_Dispatcher::registerPlugin

master Ver versión oficial en línea Licencia CC-BY-3.0Descargado el 2026-08-02

En esta página

Yaf_Dispatcher::registerPlugin

Registra un complemento

Descripción#

public Yaf_Dispatcher::registerPlugin(Yaf_Plugin_Abstract $plugin): Yaf_Dispatcher
```php

Registra un complemento (véase `Yaf_Plugin_Abstract`). Generalmente se registran complementos en el Arranque (véase la clase `Yaf_Bootstrap_Abstract`).

## Parámetros

`plugin`  

## Valores devueltos

## Ejemplos

Ejemplo de `Yaf_Dispatcher::registerPlugin`
registerPlugin($usuario); } ```php ## Véase también Yaf_Plugin_Abstract Yaf_Bootstrap_Abstract ?>