connorjburton/dvla-search

View on GitHub
src/Clients/Tyres.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
namespace DVLASearch\SDK\Clients;

use DVLASearch\SDK\Objects\Object;

class Tyres extends Client {
    const TYPE = 'TyreSearch';
    
    public function __construct(string $key = '')
    {
        parent::__construct($key, $this::TYPE);
    }
    
    public function get(string $plate): Object
    {
        return $this->query($plate);
    }
}