Aion-Emitter

 view release on metacpan or  search on metacpan

i18n/Aion/Emitter.ru-en.po  view on Meta::CPAN

msgid "Файл etc/annotation/listen.ann:"
msgstr "File etc/annotation/listen.ann:"

msgid "Данный диспетчер событий реализует паттерн **Event Dispatcher** в котором событие определяется по классу объекта события (event)."
msgstr "This event dispatcher implements the **Event Dispatcher** pattern in which an event is defined by the class of the event object (event)."

msgid "Слушатель регистрируется как эон в плероме и будет всегда представлен одним объектом."
msgstr "The listener is registered as an aeon in the pleroma and will always be represented by one object."

msgid "Метод обрабатывающий события отмечается аннотацией `#@listen`."
msgstr "The event processing method is marked with the `#@listen` annotation."

msgid "Излучает событие: вызывает все слушатели связанные с событием `$event`."
msgstr "Emits an event: calls all listeners associated with the `$event` event."

msgid "Дополнительный параметр `$key` позволяет указать уточняющее событие. Представьте, что у нас множество контроллеров и мы хотим излучитÑ...
msgstr "The additional parameter `$key` allows you to specify a qualifying event. Imagine that we have many controllers and we want to emit an event not for all, but for each specific controller. Writing a class that extends the request class for eac...

msgid "`$key` может содержать буквы, цифры, подчёркивание, тире, двоеточие и точку."
msgstr "`$key` can contain letters, numbers, underscores, dashes, colons and periods."

lib/Aion/Emitter.pm  view on Meta::CPAN

	
	$ballEvent->weight # -> 3
	$ballEvent->radius # -> 0

=head1 DESCRIPTION

This event dispatcher implements the B<Event Dispatcher> pattern in which an event is defined by the class of the event object (event).

The listener is registered as an aeon in the pleroma and will always be represented by one object.

The event processing method is marked with the C<#@listen> annotation.

=head1 SUBROUTINES

=head2 emit ($event, [$key])

Emits an event: calls all listeners associated with the C<$event> event.

The additional parameter C<$key> allows you to specify a qualifying event. Imagine that we have many controllers and we want to emit an event not for all, but for each specific controller. Writing a class that extends the request class for each contr...

C<$key> can contain letters, numbers, underscores, dashes, colons and periods.



( run in 0.838 second using v1.01-cache-2.11-cpan-995e09ba956 )