<?php

namespace App\Facades;

use App\SiteRepository;
use Illuminate\Support\Facades\Facade;
use Mtc\MercuryDataModels\CarConfiguratorModel;
use Mtc\MercuryDataModels\NewCar;
use Mtc\MercuryDataModels\Vehicle;
use Mtc\MercuryDataModels\VehicleOffer;
use Mtc\MercuryDataModels\VehicleTrim;

/**
 * @method static ?string url(string $endpoint = '', bool $absolute = true)
 * @method static ?string vehicleUrl(Vehicle $vehicle, bool $withAccess = false, bool $absolute = true)
 * @method static ?string offerUrl(VehicleOffer $offer, bool $withAccess = false, bool $absolute = true)
 * @method static ?string newCarUrl(NewCar $car, bool $withAccess = false, bool $absolute = true)
 * @method static string configuratorUrl(CarConfiguratorModel $configuratorModel)
 * @method static string trimUrl(VehicleTrim $trim, bool $withAccess = false, bool $absolute = true)
 * @see SiteRepository
 */
class Site extends Facade
{
    /**
     * Define the facade accessor
     *
     * @return string
     */
    protected static function getFacadeAccessor()
    {
        return 'site-repository';
    }
}
