Last active
August 29, 2015 14:05
-
-
Save matej21/5ba4338f9321e39cd1cb to your computer and use it in GitHub Desktop.
Base třídy - konečné řešení
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extensions: | |
setup: Librette\Setup\SetupExtension | |
setup: | |
#nastavi sitename na vsech presenterech, ktery dedi od BasePresenteru a jsou registrovany v DIC | |
- | |
type: [App\BasePresenter] | |
setup: | |
- setSiteName('example.com') | |
#zapne inject na vsech komponentach (i tech, ktere jsou vytvareny gen. tovarnickou), ktere dedi od BaseControlu | |
- | |
type: [App\BaseControl] | |
inject: true | |
#a dokonce prida vsem subscriberum spravny tag, jelikoz psat je je vopruz :) | |
- | |
type: [Kdyby\Events\Subscriber] | |
tags: [kdyby.subscriber] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment