Skip to content

Commit 970a99a

Browse files
authored
Merge pull request #266 from raicabogdan/5.9.x
Update Request api documentation
2 parents edf1388 + d896baa commit 970a99a

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

docs/api/phalcon_http.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -700,12 +700,7 @@ private $queryFilters;
700700
/**
701701
* @var array|null
702702
*/
703-
private $patchCache;
704-
705-
/**
706-
* @var array|null
707-
*/
708-
private $putCache;
703+
private $postCache;
709704

710705
/**
711706
* @var string
@@ -1152,6 +1147,12 @@ Checks whether HTTP method is HEAD.
11521147
if _SERVER["REQUEST_METHOD"]==="HEAD"
11531148

11541149

1150+
```php
1151+
public function isJson(): bool;
1152+
```
1153+
Checks whether request content type contains json data
1154+
1155+
11551156
```php
11561157
public function isMethod( mixed $methods, bool $strict = bool ): bool;
11571158
```

0 commit comments

Comments
 (0)