* Same as [twig url](https://symfony.com/doc/current/reference/twig_reference.html#url) but catches all exceptions:
`{{ safe_url(routeName, options, relative) }}`: same as [twig url](https://symfony.com/doc/current/reference/twig_reference.html#url) but catches all exceptions
* Same as [twig url](https://symfony.com/doc/current/reference/twig_reference.html#path) but catches all exceptions:
`{{ safe_path(routeName, options, relative) }}`
### Node functions
* Generates a URL using a node:
`{{ node_url(node, options, relative) }}`
* Generates a path using a node:
`{{ node_path(node, options, relative) }}`
* Generates a URL using a node and catches all exceptions:
`{{ safe_node_url(node, options, relative) }}`
* Generates a path using a node and catches all exceptions:
`{{ safe_node_path(node, options, relative) }}`
### Filters
When a content could contains tags (eg: '{{url://my_route}}`), use `murph_url`. This the example below:
| Code | Output |
| ---- | ------ |
| `{{ content }}` | `A link to the <a href="{{url://contact}}">contact page</a>` |
| `{{ content|murph_url }}` | `A link to the <a href="https://example.com/contact">contact page</a>` |
## String builder
The string builder builds a string using a format and an object or an array.
Examples:
*`{{ 'Entity ID is {id}'|build_string(myEntity) }}` will output: `Entity ID is 42`
*`{{ 'Hello, {user.displayName}!'|build_string(myEntity) }}` will output `Hello, John doe!`
In case of an not accessible property, no exception will be thrown.