Behavior::__construct PHP Method

__construct() public method

public __construct ( $model, $options = [] )
    public function __construct($model, $options = array())
    {
        $this->model = $model;
        $this->options = $this->options($options);
        $this->registerAction($this->actions);
        $this->registerFilter($this->filters);
    }

Usage Example

 /**
  * Implements __construct().
  */
 public function __construct()
 {
     return parent::__construct('background_motion');
 }
All Usage Examples Of Behavior::__construct