Ouzo\Utilities\StrSubstitutor::__construct PHP Method

__construct() public method

Optionally, substitutor can use the $default when no value is found for a placeholder.
public __construct ( array $values = [], null | string $default = null )
$values array
$default null | string
    public function __construct($values = array(), $default = null)
    {
        $this->_values = $values;
        $this->_default = $default;
    }