Skip to content
Snippets Groups Projects
Unverified Commit b802cba2 authored by totten's avatar totten Committed by GitHub
Browse files

Merge pull request #729 from eileenmcnaughton/patch-6

Add use statement for definition - hopefully people will know that go…
parents a8d63540 9ab8204d
No related branches found
No related tags found
No related merge requests found
......@@ -154,6 +154,8 @@ $cache->flush();
First, we define the service in `Civi\Core\Container` or `hook_civicrm_container`:
```php
use Symfony\Component\DependencyInjection\Definition;
$container->setDefinition("cache.hello", new Definition(
'CRM_Utils_Cache_Interface',
[[
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment