/** * Db constructor. */ public function __construct() { parent::__construct(); $configs = $this->getConfigs(); $this->setDatabase($configs['database']); $this->setUser($configs['user']); $this->setPassword($configs['password']); $this->setHost($configs['hostname']); $this->connection = new \mysqli($this->getHost(), $this->getUser(), $this->getPassword(), $this->getDatabase()); }
public function __construct($name, $location, $faction, $battleRating, $strategyRating, $agility, $specialRetreat, $combatUnits) { parent::__construct($name, $location, $faction, $battleRating, $strategyRating, $agility, $specialRetreat, $combatUnits); }
public function __construct() { parent::__construct(); }
/** * Constructor. */ protected function __construct() { parent::__construct(); $this->extension = '.log'; }