Calotype\SEO\Generators\MetaGenerator::getDefault PHP Method

getDefault() public method

Get a default configuration.
public getDefault ( string $default ) : mixed
$default string
return mixed
    public function getDefault($default)
    {
        if (array_key_exists($default, $this->defaults)) {
            return $this->defaults[$default];
        }
        $class = get_class($this);
        throw new \InvalidArgumentException("{$class}: default configuration {$default} does not exist.");
    }