PhpBench\Formatter\FormatRegistry::get PHP Метод

get() публичный Метод

Return the named format class.
public get ( string $name ) : PhpBench\Formatter\FormatInterface
$name string
Результат PhpBench\Formatter\FormatInterface
    public function get($name)
    {
        if (!isset($this->formats[$name])) {
            throw new \InvalidArgumentException(sprintf('Unknown format "%s", known formats: "%s"', $name, implode(', ', array_keys($this->formats))));
        }
        return $this->formats[$name];
    }
FormatRegistry