Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
<?php
namespace JasonRoman\NbaApi\Request\Data\Prod\Draft;
use JasonRoman\NbaApi\Request\Data\Prod\AbstractDataProdRequest;
use Symfony\Component\Validator\Constraints as Assert;
/**
* Get basic information on all picks of the draft.
*/
class DraftPickRequest extends AbstractDataProdRequest
{
const ENDPOINT = '/prod/draft/{year}/draft_pick.json';
/**
* @Assert\NotBlank()
* @Assert\Type("int")
* @Assert\Range(min = 2017)
*
* @var int
*/
public $year;
/**
* {@inheritdoc}
*/
public static function getExampleValues(): array
{
return [
'year' => 2017,
];
}
}