public function keywordList($keyword)
    {
        $this->assertKeywords();

        if (isset($this->keywords[$keyword])) {
            return $this->keywords[$keyword];
        } else {
            return [];
        }
    }
public function keywordList($keyword)
    {
        $this->assertKeywords();

        if (isset($this->keywords[$keyword])) {
            return $this->keywords[$keyword];
        } else {
            return [];
        }
    }
public function keywordList ( $ keyword ) { $ this -> assertKeywords ( ) ; if ( isset ( $ this -> keywords [ $ keyword ] ) ) { return $ this -> keywords [ $ keyword ] ; } else { return [ ] ; } }
Returns all keywords with a given name.

@param string $keyword

@return array
Returns all keywords with a given name .