Ojs\AdminBundle\Events\AdminEvent::__construct PHP Method

__construct() public method

AdminEvent constructor.
public __construct ( array $options = [] )
$options array
    public function __construct($options = [])
    {
        foreach ($options as $optionKey => $option) {
            if (property_exists($this, $optionKey)) {
                $this->{$optionKey} = $option;
            }
        }
    }