If the cache directive is not present, NULL is returned. If the specified
directive is present but contains no value, this method returns TRUE. Finally,
if the directive is present and does contain a value, the value is returned.
public getCacheControlDirective ( string $name ) : mixed | ||
$name | string | Name of the cache directive, for example "max-age" |
return | mixed |