PHP 클래스 Yosymfony\Spress\Core\Tester\PluginTester

저자: Victor Puertas ([email protected])
상속: implements Yosymfony\Spress\Core\Plugin\PluginInterface
파일 보기 프로젝트 열기: spress/spress 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$eventListeners
$metas

공개 메소드들

메소드 설명
__construct ( string $name ) Constructor.
getMetas ( )
initialize ( Yosymfony\Spress\Core\Plugin\EventSubscriber $subscriber )
setListenerToAfterConvertEvent ( callable $listener ) Set the listener to "spress.after_convert" event.
setListenerToAfterRenderBlocksEvent ( callable $listener ) Set the listener to "spress.after_render_blocks" event.
setListenerToAfterRenderPageEvent ( callable $listener ) Set the listener to "spress.after_render_page" event.
setListenerToBeforeConvertEvent ( callable $listener ) Set the listener to "spress.before_convert" event.
setListenerToBeforeRenderBlocksEvent ( callable $listener ) Set the listener to "spress.before_render_blocks" event.
setListenerToBeforeRenderPageEvent ( callable $listener ) Set the listener to "spress.before_render_page" event.
setListenerToFinishEvent ( callable $listener ) Set the listener to "spress.finish" event.
setListenerToStartEvent ( callable $listener ) Set the listener to "spress.start" event.
setMetas ( array $metas ) Set the metadata of the plugin.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( string $name )
$name string The name of the plugin

getMetas() 공개 메소드

public getMetas ( )

initialize() 공개 메소드

public initialize ( Yosymfony\Spress\Core\Plugin\EventSubscriber $subscriber )
$subscriber Yosymfony\Spress\Core\Plugin\EventSubscriber

setListenerToAfterConvertEvent() 공개 메소드

Set the listener to "spress.after_convert" event.
public setListenerToAfterConvertEvent ( callable $listener )
$listener callable

setListenerToAfterRenderBlocksEvent() 공개 메소드

Set the listener to "spress.after_render_blocks" event.
public setListenerToAfterRenderBlocksEvent ( callable $listener )
$listener callable

setListenerToAfterRenderPageEvent() 공개 메소드

Set the listener to "spress.after_render_page" event.
public setListenerToAfterRenderPageEvent ( callable $listener )
$listener callable

setListenerToBeforeConvertEvent() 공개 메소드

Set the listener to "spress.before_convert" event.
public setListenerToBeforeConvertEvent ( callable $listener )
$listener callable

setListenerToBeforeRenderBlocksEvent() 공개 메소드

Set the listener to "spress.before_render_blocks" event.
public setListenerToBeforeRenderBlocksEvent ( callable $listener )
$listener callable

setListenerToBeforeRenderPageEvent() 공개 메소드

Set the listener to "spress.before_render_page" event.
public setListenerToBeforeRenderPageEvent ( callable $listener )
$listener callable

setListenerToFinishEvent() 공개 메소드

Set the listener to "spress.finish" event.
public setListenerToFinishEvent ( callable $listener )
$listener callable

setListenerToStartEvent() 공개 메소드

Set the listener to "spress.start" event.
public setListenerToStartEvent ( callable $listener )
$listener callable

setMetas() 공개 메소드

Set the metadata of the plugin.
public setMetas ( array $metas )
$metas array

프로퍼티 상세

$eventListeners 보호되어 있는 프로퍼티

protected $eventListeners

$metas 보호되어 있는 프로퍼티

protected $metas