public function __construct() { parent::__construct(); $connObj = new Conexao(); $this->connection = $connObj->getConnection(); $this->model = new Usuario($this->connection); }
public function __construct() { parent::__construct(); $connObj = new Conexao(); $this->connection = $connObj->getConnection(); $this->loginObject = new \App\Util\Login($this->connection); $this->model = new \App\Model\Usuario($this->connection); }