<?php
declare(strict_types=1);
namespace NuBox\Strava\Api;
use NuBox\Strava\Api\DependencyInjection\StravaApiExtension;
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
use Symfony\Component\HttpKernel\Bundle\Bundle;
final class StravaApiBundle extends Bundle
{
public function getContainerExtension(): ?ExtensionInterface
{
if (null === $this->extension) {
$this->extension = new StravaApiExtension();
}
return $this->extension;
}
public function getPath(): string
{
return \dirname(__DIR__);
}
}