DebugFormatterHelper::start()

string start(string $id, string $message, string $prefix = 'RUN') Starts a debug formatting session. Parameters string $id The id of the formatting session string $message The message to display string $prefix The prefix to use Return Value string

DebugFormatterHelper::getName()

string getName() Returns the canonical name of this helper. Return Value string The canonical name

DebugFormatterHelper

class DebugFormatterHelper extends Helper Helps outputting debug information when running an external program from a command. An external program can be a Process, an HTTP request, or anything else. Methods setHelperSet(HelperSet $helperSet = null) Sets the helper set associated with this helper. from Helper HelperSet getHelperSet() Gets the helper set associated with this helper. from Helper static int strlen(string $string) Returns the length of a string, using mb_strwidth if i

DebugFormatterHelper::stop()

string stop(string $id, string $message, bool $successful, string $prefix = 'RES') Stops a formatting session. Parameters string $id The id of the formatting session string $message The message to display bool $successful Whether to consider the result as success string $prefix The prefix for the end output Return Value string

DebugExtension

class DebugExtension extends Extension DebugExtension. Methods string getXsdValidationBasePath() Returns the base path for the XSD files. string getNamespace() Returns the namespace to be used for this extension (XML namespace). string getAlias() Returns the recommended alias to use in XML. from Extension ConfigurationInterface|null getConfiguration(array $config, ContainerBuilder $container) Returns extension configuration. from Extension load(array $configs, Container

DebugExtension::getNamespace()

string getNamespace() Returns the namespace to be used for this extension (XML namespace). Return Value string The XML namespace

DebugExtension::load()

load(array $configs, ContainerBuilder $container) Loads a specific configuration. Parameters array $configs An array of configuration values ContainerBuilder $container A ContainerBuilder instance Exceptions InvalidArgumentException When provided tag is not defined in this extension

DebugExtension::getXsdValidationBasePath()

string getXsdValidationBasePath() Returns the base path for the XSD files. Return Value string The XSD base path

DebugCommand

class DebugCommand extends DebugCommand implements ContainerAwareInterface Lists twig functions, filters, globals and tests present in the current project. Traits ContainerAwareTrait ContainerAware trait. Methods __construct(string|null $name = 'debug:twig') Constructor. from DebugCommand ignoreValidationErrors() Ignores validation errors. from Command setApplication(Application $application = null) Sets the application instance for this command. from Command setHelperS

DebugCommand

class DebugCommand extends Command Lists twig functions, filters, globals and tests present in the current project. Methods __construct(string|null $name = 'debug:twig') Constructor. 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. fr