Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
<?php
namespace JasonRoman\NbaApi\Request\Stats\Widgets\Games;
use JasonRoman\NbaApi\Request\Stats\Widgets\AbstractStatsWidgetsRequest;
use Symfony\Component\Validator\Constraints as Assert;
/**
* Get the box score breakdown of all games scheduled for a given day. No scores; just the teams, times, and summary.
*/
class BoxScoreBreakdownRequest extends AbstractStatsWidgetsRequest
{
const ENDPOINT = '/js/data/widgets/boxscore_breakdown_{gameDateYmd}.json';
/**
* @Assert\NotBlank()
* @Assert\Type("\DateTime")
*
* @var \DateTime
*/
public $gameDateYmd;
/**
* {@inheritdoc}
*/
public static function getExampleValues(): array
{
return [
'gameDateYmd' => new \DateTime('2017-01-01'),
];
}
}