public function __construct($request) { parent::__construct(); $this->request = $request; $this->db = new MySQL(DBNAME, USERNAME, PASSWORD, HOST); $this->validation = new Validation(); }