An uncaught Exception was encountered

Type: ParseError

Message: syntax error, unexpected 'public' (T_PUBLIC)

Filename: /var/www/api/application/models/modelv1/Api_model.php

Line Number: 956

Backtrace:

File: /var/www/api/application/controllers/V1.php
Line: 18
Function: model

File: /var/www/api/index.php
Line: 315
Function: require_once

ERROR