vendor/nubox/strava-api-bundle/src/StravaApiBundle.php line 11

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace NuBox\Strava\Api;
  4. use NuBox\Strava\Api\DependencyInjection\StravaApiExtension;
  5. use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
  6. use Symfony\Component\HttpKernel\Bundle\Bundle;
  7. final class StravaApiBundle extends Bundle
  8. {
  9.     public function getContainerExtension(): ?ExtensionInterface
  10.     {
  11.         if (null === $this->extension) {
  12.             $this->extension = new StravaApiExtension();
  13.         }
  14.         return $this->extension;
  15.     }
  16.     public function getPath(): string
  17.     {
  18.         return \dirname(__DIR__);
  19.     }
  20. }