interface ServiceToolsInterface

Interface to be called for DI for ServiceToolsInterface related services

Methods

createFlash(string $translationDomain = null, string $text, string $style = 'success', array $options = array())

Creates flash message

string|null
getUrl(string $data)

Gets the url

array
getUrlFromRoute(string $route)

Gets url from a Route

Details

at line 22
createFlash(string $translationDomain = null, string $text, string $style = 'success', array $options = array())

Creates flash message

Parameters

string $translationDomain
string $text
string $style
array $options

at line 28
string|null getUrl(string $data)

Gets the url

Parameters

string $data

Return Value

string|null

at line 34
array getUrlFromRoute(string $route)

Gets url from a Route

Parameters

string $route

Return Value

array