App\Ninja\Transformers\EntityTransformer::includeCollection PHP Method

includeCollection() protected method

protected includeCollection ( $data, $transformer, $entityType )
    protected function includeCollection($data, $transformer, $entityType)
    {
        if ($this->serializer && $this->serializer != API_SERIALIZER_JSON) {
            $entityType = null;
        }
        return $this->collection($data, $transformer, $entityType);
    }