function forApi() { $data = parent::forApi(); // you can change $data for the public API here return $data; }