. */ namespace SP\Providers; use SP\Config\Config; use SP\Core\Context\ContextInterface; use SP\Core\Events\EventDispatcher; /** * Class Service * * @package SP\Providers */ abstract class Provider implements ProviderInterface { protected Config $config; protected ContextInterface $context; protected EventDispatcher $eventDispatcher; /** * Provider constructor. * * @param Config $config * @param ContextInterface $context * @param EventDispatcher $eventDispatcher */ public function __construct(Config $config, ContextInterface $context, EventDispatcher $eventDispatcher) { $this->config = $config; $this->context = $context; $this->eventDispatcher = $eventDispatcher; } }