public function getServiceNameById($id)
    {
        $map = $this->getServiceIdNameMap();
        if (array_key_exists($id, $map)) {
            return $map[$id];
        }

        return null;
    }
public function getServiceNameById($id)
    {
        $map = $this->getServiceIdNameMap();
        if (array_key_exists($id, $map)) {
            return $map[$id];
        }

        return null;
    }
public function getServiceNameById ( $ id ) { $ map = $ this -> getServiceIdNameMap ( ) ; if ( array_key_exists ( $ id , $ map ) ) { return $ map [ $ id ] ; } return null ; }
Get a service name by its identifier.

@param  int $id

@return string
Get a service name by its identifier .