Gets the 'foo_bar' service.
This service is shared. This method always returns the same instance of the service.
Object A %foo_class% instance.
protected function getFooBarService() {
$class = $this
->getParameter('foo_class');
return $this->services['foo_bar'] = new $class();
}