FootballData.php
/**
     * Function returns all teams matching a given keyword.
     * 
     * @param string $keyword
     * @return list of team objects
     */
Function returns all teams matching a given keyword.

@param string $keyword
@return list of team objects
Function returns all teams matching a given keyword . @param string $keyword @return list of team objects
public function searchTeam($keyword) {
        $resource = 'teams/?name=' . $keyword;
        $response = file_get_contents($this->baseUri . $resource, false, 
                                      stream_context_create($this->reqPrefs));
        return json_decode($response);
    }
public function searchTeam ( $ keyword ) { $ resource = 'teams/?name=' . $ keyword ; $ response = file_get_contents ( $ this -> baseUri . $ resource , false , stream_context_create ( $ this -> reqPrefs ) ) ; return json_decode ( $ response ) ; }
Function returns all teams matching a given keyword.
Function returns all teams matching a given keyword .