private function outputTransporter($data, $type) { return (new Rest())->wrapResponseOutput($data, $type); }