Jackalope\Query\Row::getScore PHP Method

getScore() public method

{@inheritDoc}
public getScore ( $selectorName = null )
    public function getScore($selectorName = null)
    {
        if (null === $selectorName) {
            $selectorName = $this->defaultSelectorName;
        }
        if (!array_key_exists($selectorName, $this->score)) {
            throw new RepositoryException('Attempting to get the score for a non existent selector: ' . $selectorName);
        }
        return $this->score[$selectorName];
    }