---
title: "ContentType"
description: "ContentType"
url: "https://www.contentstack.com/docs/developers/sdks/content-delivery-sdk/php/reference/contenttype"
product: "Contentstack"
doc_type: "guide"
audience:
  - developers
  - admins
version: "current"
last_updated: "2026-09-21"
---

# ContentType

## ContentType

ContentType provides Entry and Query instance.

## fetch

Fetch the specific content type

```
use Contentstack\Contentstack;

$stack = Contentstack::Stack('api_key', 'delivery_token', 'environment');
$result = $stack-ContentType('content_type_uid')->fetch();
```

Parameters to fetch content

## Entry

Entry object to create the "Query" on the specified ContentType

```
use Contentstack\Contentstack;

$stack = Contentstack::Stack('api_key', 'delivery_token', 'environment');
$entry = $stack-ContentType('content_type_uid')->Entry('entry_uid');
```

Entry uid to get details

## Query

A query that is used to query for Entry instance.

```
use Contentstack\Contentstack;

$stack = Contentstack::Stack('api_key', 'delivery_token', 'environment');
$query = $stack-ContentType('content_type_uid')->Query();
```

## ContentType | PHP Delivery SDK | Contentstack

ContentType provides Entry and Query instances in the PHP Delivery SDK, serving as the entry point for fetching content of a Contentstack content type.