Ojs\AdminBundle\Events\AdminEvent::__construct PHP 메소드

__construct() 공개 메소드

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;
            }
        }
    }