ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
BaseFormatter.php
Go to the documentation of this file.
1<?php
2
4
5abstract class BaseFormatter
6{
7 protected static function stripQuotes(string $format): string
8 {
9 // Some non-number strings are quoted, so we'll get rid of the quotes, likewise any positional * symbols
10 return str_replace(['"', '*'], '', $format);
11 }
12}
An exception for terminatinating execution or to throw for unit testing.
$format
Definition: metadata.php:141