Skip to content

Use new path() and url() helper in PHP templates #5814

@xabbuh

Description

@xabbuh

Symfony 2.8 introduces two new helpers path() and url() (see symfony/symfony#16276) which work the same as corresponding Twig functions. These new helpers should be used in favour of the deprecated generate() helper.
#5813 should probably be merged before to avoid having a mess when rebasing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    RoutingTemplatingactionableClear and specific issues ready for anyone to take them.hasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy