Example #1
0
 /**
  * Constructor.
  * @param string $modelClass the model class associated with this query
  * @param array $config configurations to be applied to the newly created query object
  */
 public function __construct($modelClass, $config = [])
 {
     $this->modelClass = $modelClass;
     parent::__construct($config);
 }
Example #2
0
 public function __construct($params)
 {
     parent::__construct();
     $this->setUrlParams($params);
 }