Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (16 sloc) 431 Bytes
<?php
namespace JasonRoman\NbaApi\Request\Data\Prod\Teams;
use JasonRoman\NbaApi\Request\Data\Prod\AbstractDataProdRequest;
use Symfony\Component\Validator\Constraints as Assert;
class TeamsRequest extends AbstractDataProdRequest
{
const ENDPOINT = '/prod/v1/{year}/teams.json';
/**
* @Assert\NotBlank()
* @Assert\Type("int")
* @Assert\Range(min = 2012)
*
* @var int
*/
public $year;
}
You can’t perform that action at this time.