# yatra/trunk/app/Core/ServiceProvider.php

Yatra – Travel Booking &amp; Tour Operator Software, version trunk. 39 lines.

- Page: https://pluginprobe.com/plugins/yatra/trunk/code/app/Core/ServiceProvider.php
- Raw: https://pluginprobe.com/plugins/yatra/trunk/raw/app/Core/ServiceProvider.php
- Modified: 2026-04-14T03:47:24+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/yatra/trunk/code/app/Core/ServiceProvider.php#L10-L20`.

```php
<?php

declare(strict_types=1);

namespace Yatra\Core;

/**
 * Base Service Provider
 */
abstract class ServiceProvider
{
    /**
     * @var Container
     */
    protected Container $container;

    /**
     * Constructor
     */
    public function __construct(Container $container)
    {
        $this->container = $container;
    }

    /**
     * Register services
     */
    abstract public function register(): void;

    /**
     * Boot services
     */
    public function boot(): void
    {
        // Override in child classes if needed
    }
}


```
