Update JsonApiView.php

extend __construct