Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jasnější návod #1

Open
garncarz opened this issue Nov 20, 2014 · 2 comments
Open

Jasnější návod #1

garncarz opened this issue Nov 20, 2014 · 2 comments

Comments

@garncarz
Copy link

Bylo by možné trochu lépe rozepsat https://github.com/Clevis/FilesUploadControl#napojen%C3%AD-na-template-factory, prosím? Není moc jasné, odkud vzít třídu pro onu službu.

@garncarz
Copy link
Author

Když si zkopíruji tests/common/TemplateFactory.php do src/ a pokusím se upravit config.neon jednou ze dvou možností (pod common > services):
templateFactory: Clevis\FilesUpload\TemplateFactory
templateFactory: Clevis\FilesUpload\TemplateFactory(@cacheStorage)
tak to vrací chybu:

Nette\DI\ServiceCreationException

Class Clevis\FilesUpload\TemplateFactory used in service 'templateFactory' not found or is not instantiable.

@garncarz
Copy link
Author

Po zkopírování tests/common/TemplateFactory.php do app/ v kořeni aplikace se to již rozběhne.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant