Skip to content

Commit

Permalink
fix after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Awilum committed Dec 30, 2020
1 parent 7e8f80e commit f7f5100
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,23 +146,10 @@ The following Flextype Twig Global variables are available in Flextype Twig Temp
| PHP_VERSION | PHP Version. |
| flextype | Returns Flextype object. |

<<<<<<< HEAD
Registry stored all flextype, themes and plugins settings.<br>
You can access and manipulate Flextype registry via the registry object.
=======
#### PATH_PROJECT
>>>>>>> dev

Project path (without trailing slash).

<<<<<<< HEAD
```twig
{{ registry.dump() }}
{{ registry.set() }}
{{ registry.has() }}
{{ registry.get() }}
=======
>>>>>>> dev
```
{{ PATH_PROJECT }}
```
Expand All @@ -177,11 +164,7 @@ PHP Version.

#### flextype

<<<<<<< HEAD
##### arrays
=======
Returns Flextype object, which provides access points to various helper functions and objects for templates.
>>>>>>> dev

| Objects | Available Methods |
|---|---|
Expand All @@ -200,17 +183,6 @@ Returns Flextype object, which provides access points to various helper function

The following Flextype Twig Functions are available in Flextype Twig Templates:

<<<<<<< HEAD
```twig
{% set new_array = arrays(old.array).sortBy('title') %}
```

#### Global Variables

```twig
{{ PATH_PROJECT }} {# Returns the path to the project directory (without trailing slash). #}
{{ PHP_VERSION }} {# Returns the php version #}
```
| Variable | Description |
|---|---|
| arrays | Returns a new arrays object from the given elements. |
Expand Down

0 comments on commit f7f5100

Please sign in to comment.