Skip to content

Commit

Permalink
Fix expression doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincz committed Oct 15, 2018
1 parent 4031155 commit eabb391
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/definitions/expression-language.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ All definition config entries can use expression language but it must be explici
| mixed **parameter**(string $name) | Get parameter from the container | @=parameter('kernel.debug') | param |
| boolean **isTypeOf**(string $className) | Verified if `value` is instance of className | @=isTypeOf('AppBundle\\User\\User') |
| mixed **resolver**(string $alias, array $args = []) | call the method on the tagged service "overblog_graphql.resolver" with args | @=resolver('blog_by_id', [value['blogID']] | res |
| mixed **value_resolver**(array $args = [], string $method = null) | call a method on the value itself. If no method name is provided, default to resolving fieldname (info->fieldName) | @=value_resolver([args["gender"]], "getFriends") |
| mixed **mutation**(string $alias, array $args = []) | call the method on the tagged service "overblog_graphql.mutation" with args | @=mutation('remove_post_from_community', [value]) | mut |
| string **globalId**(string\|int id, string $typeName = null) | Relay node globalId | @=globalId(15, 'User') |
| array **fromGlobalId**(string $globalId) | Relay node fromGlobalId | @=fromGlobalId('QmxvZzox') |
Expand Down

0 comments on commit eabb391

Please sign in to comment.