Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace Drupal\example;
- use Symfony\Component\EventDispatcher\Event;
- class ExampleEvent extends Event
- {
- protected $value;
- public function __construct($value)
- {
- $this->value = $value;
- }
- public function getValue()
- {
- return $this->value;
- }
- public function setValue($value)
- {
- $this->value = $value;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement