src/FlashMessage.php
protected function getTitle($type)
    {
        return array_key_exists($type, $this->config('titles'))
            ? $this->config('titles')[$type]
            : null;
    }
protected function getTitle($type)
    {
        return array_key_exists($type, $this->config('titles'))
            ? $this->config('titles')[$type]
            : null;
    }
protected function getTitle ( $ type ) { return array_key_exists ( $ type , $ this -> config ( 'titles' ) ) ? $ this -> config ( 'titles' ) [ $ type ] : null ; }
Get the message title for the given type

@param  string $type
@return string|null
Get the message title for the given type