'-', '/' => '_']); } /** * Decode the input. * * @param string $input * @return string */ public static function decode($input) { return base64_decode(strtr($input, ['-' => '+', '_' => '/'])); } }