Skip to content

Commit 07966c1

Browse files
Rohit MishraRohit Mishra
authored andcommitted
Added new method under entries and Assets class
1 parent ee2079c commit 07966c1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
use Contentstack\Contentstack;
1313
include_once "../src/index.php";
1414

15-
$stack = Contentstack::Stack('***REMOVED***', '***REMOVED***', 'mobile');
15+
$stack = Contentstack::Stack('<API-KEY>', '<ACCESS-TOKEN>', '<DEVELOPMENT>');
1616

1717
try {
18-
$result = $stack->ContentType('ctwithallfields')->Query()->addParam('include_dimensions', 'true')->toJSON()->find();
18+
//$result = $stack->ContentType('ctwithallfields')->Query()->addParam('include_dimensions', 'true')->toJSON()->find();
1919
// $result = $stack->ContentType('ctwithallfields')->Query()->addParam('include_dimensions', true)->toJSON()->find();
2020
//$result = $stack->ContentType('ctwithallfields')->Query()->includeCount('include_dimensions', true)->toJSON()->find();
2121
//$result = $stack->ContentType('ctwithallfields')->Entry('blt8d1ab7600ba4c2b4')->addParam('include_dimensions', true)->toJSON()->fetch();

0 commit comments

Comments
 (0)