Final Class Yiisoft\HttpMiddleware\HttpCache\CacheControlProvider\NullCacheControlProvider
| Inheritance | Yiisoft\ |
|---|---|
| Implements | Yiisoft\ |
Returns null regardless of request.
It can be used when cache control functionality is not required.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| get() | Yiisoft\ |
Method Details
| public ?string get ( \ | ||
| $request | \ |
|
public function get(ServerRequestInterface $request): ?string
{
return null;
}
User Contributed Notes
Leave a comment
Join the conversation to share a note.