public function __construct(ServiceLocatorInterface $serviceLocator, $config) { $this->serviceLocator = $serviceLocator; $this->config = $config; }