Пример #1
0
 /**
  * Constructor
  *
  * Create new class.
  */
 public function __construct()
 {
     parent::__construct(2);
 }
Пример #2
0
 /**
  * Constructor
  *
  * Create new class.
  * @param int $coefficients Number of coefficients (default is 2).
  */
 public function __construct($coefficients = 2)
 {
     assert($coefficients >= 2);
     parent::__construct($coefficients);
 }