public function defaultFormatter($name = null)
    {
        if ($name === null) {
            return $this->_defaultFormatter;
        }

        return $this->_defaultFormatter = $name;
    }
public function defaultFormatter($name = null)
    {
        if ($name === null) {
            return $this->_defaultFormatter;
        }

        return $this->_defaultFormatter = $name;
    }
public function defaultFormatter ( $ name = null ) { if ( $ name === null ) { return $ this -> _defaultFormatter ; } return $ this -> _defaultFormatter = $ name ; }
Sets the name of the default messages formatter to use for future
translator instances.

If called with no arguments, it will return the currently configured value.

@param string|null $name The name of the formatter to use.
@return string The name of the formatter.
Sets the name of the default messages formatter to use for future translator instances .