withIntermediatePaths([ new AllowedInclude(new PlaylistSchema(), User::RELATION_PLAYLISTS), ]); } /** * @return Field[] * * @noinspection PhpMissingParentCallCommonInspection */ public function fields(): array { return [ new UserIdField($this), new UserNameField($this), ]; } }