Helper::setHelperSet()

setHelperSet(HelperSet $helperSet = null) Sets the helper set associated with this helper. Parameters HelperSet $helperSet A HelperSet instance

Helper::setCharset()

setCharset(string $charset) Sets the default charset. Parameters string $charset The charset

Helper::getHelperSet()

HelperSet getHelperSet() Gets the helper set associated with this helper. Return Value HelperSet A HelperSet instance

Helper::getCharset()

string getCharset() Gets the default charset. Return Value string The default charset

Helper::formatTime()

static formatTime($secs) Parameters $secs

Helper::formatMemory()

static formatMemory($memory) Parameters $memory

Helper

class Helper implements HelperInterface Helper is the base class for all helper classes. Most of the time, a Helper is an adapter around an existing class that exposes a read-only interface for templates. Methods setCharset(string $charset) Sets the default charset. string getCharset() Gets the default charset. Details setCharset(string $charset) Sets the default charset. Parameters string $charset The charset

Helper

class Helper implements HelperInterface Helper is the base class for all helper classes. Methods setHelperSet(HelperSet $helperSet = null) Sets the helper set associated with this helper. HelperSet getHelperSet() Gets the helper set associated with this helper. static int strlen(string $string) Returns the length of a string, using mb_strwidth if it is available. static formatTime($secs) static formatMemory($memory) static strlenWithoutDecoration(OutputFormatte

HelpCommand

class HelpCommand extends Command HelpCommand displays the help for a given command. Methods __construct(string|null $name = null) Constructor. from Command ignoreValidationErrors() Ignores validation errors. from Command setApplication(Application $application = null) Sets the application instance for this command. from Command setHelperSet(HelperSet $helperSet) Sets the helper set. from Command HelperSet getHelperSet() Gets the helper set. from Command Application g

HeaderBag::replace()

replace(array $headers = array()) Replaces the current HTTP headers by a new set. Parameters array $headers An array of HTTP headers