name: CollectsResources class_comment: null dependencies: - name: JsonResource type: class source: Illuminate\Http\Resources\Json\JsonResource - name: AbstractCursorPaginator type: class source: Illuminate\Pagination\AbstractCursorPaginator - name: AbstractPaginator type: class source: Illuminate\Pagination\AbstractPaginator - name: Collection type: class source: Illuminate\Support\Collection - name: Str type: class source: Illuminate\Support\Str - name: LogicException type: class source: LogicException - name: ReflectionClass type: class source: ReflectionClass - name: Traversable type: class source: Traversable properties: [] methods: - name: collectResource visibility: protected parameters: - name: resource comment: '# * Map the given collection resource into its individual resources. # * # * @param mixed $resource # * @return mixed' - name: collects visibility: protected parameters: [] comment: '# * Get the resource that this resource collects. # * # * @return string|null' - name: jsonOptions visibility: public parameters: [] comment: '# * Get the JSON serialization options that should be applied to the resource response. # * # * @return int' - name: getIterator visibility: public parameters: [] comment: '# * Get an iterator for the resource collection. # * # * @return \ArrayIterator' traits: - Illuminate\Http\Resources\Json\JsonResource - Illuminate\Pagination\AbstractCursorPaginator - Illuminate\Pagination\AbstractPaginator - Illuminate\Support\Collection - Illuminate\Support\Str - LogicException - ReflectionClass - Traversable interfaces: []