Knp\Bundle\KnpBundlesBundle\Entity\Bundle::getScores PHP 메소드

getScores() 공개 메소드

Get all historical scores indexed by date
public getScores ( integer $limit = null ) : array
$limit integer
리턴 array
    public function getScores($limit = null)
    {
        if (null === $limit) {
            return $this->scores;
        }
        return $this->scores->slice(0, $limit);
    }