Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Twig cache documentation shows using null instead of false #10101

Copy link
Copy link
Closed
@nesl247

Description

@nesl247
Issue body actions

https://github.com/symfony/symfony-docs/blob/master/reference/configuration/twig.rst#cache shows that we need to specify null if we want to disable cache. However, https://github.com/twigphp/Twig/blob/60a8f465d6f259c92a8fe0fb61cf8f767bd8d025/lib/Twig/Environment.php#L247 states that we need false instead.

Also, the type is either string|bool|Twig_CacheInterface. I'm not sure if the docs support multi-types though.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.