Skip to content

Instantly share code, notes, and snippets.

@dantleech
Last active August 25, 2016 07:23
Show Gist options
  • Select an option

  • Save dantleech/66f63c519fa0cc79bf4e6d4148a50a73 to your computer and use it in GitHub Desktop.

Select an option

Save dantleech/66f63c519fa0cc79bf4e6d4148a50a73 to your computer and use it in GitHub Desktop.
<?php
namespace Symfony\Cmf\Component\ContentType\Tests\Functional;
class ServiceTest extends BaseTestCase
{
public function testServices()
{
$container = $this->getContainer();
foreach ($container->getServiceIds() as $serviceId) {
if (0 === strpos($serviceId, 'cmf_content_type')) {
$container->get($serviceId);
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment