Button::count()

int count() Unsupported method. Return Value int Always returns 0

TwigEngine::render()

string render(string|TemplateReferenceInterface $name, array $parameters = array()) Renders a template. Parameters string|TemplateReferenceInterface $name A template name or a TemplateReferenceInterface instance array $parameters An array of parameters to pass to the template Return Value string The evaluated template as a string Exceptions RuntimeException if the template cannot be rendered

LogoutUrlGenerator::getLogoutUrl()

string getLogoutUrl(string|null $key = null) Generates the absolute logout URL for the firewall. Parameters string|null $key The firewall key or null to use the current firewall key Return Value string The logout URL

MessageCatalogue::addResource()

addResource(ResourceInterface $resource) Adds a resource for this collection. Parameters ResourceInterface $resource A resource instance

Constraint::getErrorName()

static string getErrorName(string $errorCode) Returns the name of the given error code. Parameters string $errorCode The error code Return Value string The name of the error code Exceptions InvalidArgumentException If the error code does not exist

AssetsHelper::getUrl()

string getUrl(string $path, string $packageName = null) Returns the public url/path of an asset. If the package used to generate the path is an instance of UrlPackage, you will always get a URL and not a path. Parameters string $path A public path string $packageName The name of the asset package to use Return Value string The public path of the asset

LocaleBundleTransformationRule::afterCreateStub()

afterCreateStub(StubbingContextInterface $context) Runs instructions to be executed after creating the stub version of the resource bundle. Parameters StubbingContextInterface $context The contextual information of the compilation.

RepeatedType

class RepeatedType extends AbstractType Methods buildForm(FormBuilderInterface $builder, array $options) Builds the form. buildView(FormView $view, FormInterface $form, array $options) Builds the form view. from AbstractType finishView(FormView $view, FormInterface $form, array $options) Finishes the form view. from AbstractType configureOptions(OptionsResolver $resolver) Configures the options for this type. string getBlockPrefix() Returns the prefix of the template bloc

Crawler::addHtmlContent()

addHtmlContent(string $content, string $charset = 'UTF-8') Adds an HTML content to the list of nodes. The libxml errors are disabled when the content is parsed. If you want to get parsing errors, be sure to enable internal errors via libxmluseinternalerrors(true) and then, get the errors via libxmlgeterrors(). Be sure to clear errors with libxmlclear_errors() afterward. Parameters string $content The HTML content string $charset The charset

ParameterBagInterface::resolveValue()

resolveValue(mixed $value) Replaces parameter placeholders (%name%) by their values. Parameters mixed $value A value Exceptions ParameterNotFoundException if a placeholder references a parameter that does not exist