public function getTweak($id)
    {
        $tweaks = $this->getTweaks();
        if (isset($tweaks[$id])) {
            return $tweaks[$id];
        }

        throw new \InvalidArgumentException(sprintf(self::NOT_VALID_TWEAK_ID_EX_MSG, $id));
    }
public function getTweak($id)
    {
        $tweaks = $this->getTweaks();
        if (isset($tweaks[$id])) {
            return $tweaks[$id];
        }

        throw new \InvalidArgumentException(sprintf(self::NOT_VALID_TWEAK_ID_EX_MSG, $id));
    }
public function getTweak ( $ id ) { $ tweaks = $ this -> getTweaks ( ) ; if ( isset ( $ tweaks [ $ id ] ) ) { return $ tweaks [ $ id ] ; } throw new \ InvalidArgumentException ( sprintf ( self :: NOT_VALID_TWEAK_ID_EX_MSG , $ id ) ) ; }
Returns a tweak.

@return array
Returns a tweak .