Contentstack
Contentstack
Contentstack abstract class to provide access to Stack Object
Stack
Static method for the Stack constructor
| Name | Type | Description |
|---|---|---|
| api_key (required) | string | API Key of your stack on Contentstack. |
| access_token (required) | string | Delivery token of your stack on Contentstack. |
| environment (required) | string | Environment from where you want to fetch content. |
| config | array |
use Contentstack\Contentstack;
$stack = Contentstack::Stack('api_key', 'delivery_token', 'environment');