Skip to content

Instantly share code, notes, and snippets.

@fabpot
Created January 9, 2017 15:11
Show Gist options
  • Save fabpot/bad2044f8b7fb7c25860793f251a96b6 to your computer and use it in GitHub Desktop.
Save fabpot/bad2044f8b7fb7c25860793f251a96b6 to your computer and use it in GitHub Desktop.
services:
app.twig_extension:
class: App\TwigExtension
public: false
tags: [twig.extension]
app.command.doc_update:
class: App\Command\DocUpdateCommand
tags:
- { name: console.command }
app.command.contributors_update:
class: App\Command\ContributorsUpdateCommand
tags:
- { name: console.command }
app.doc:
class: App\Doc
tags:
- { name: twig.runtime, id: "app.twig_extension" }
App\Controllers:
arguments: [@twig, @router, @@app.doc]
@SpartakusMd
Copy link

Two @ signs ? Is this a typo or some kind of feature ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment