ConstraintViolationListInterface::has()

bool has(int $offset) Returns whether the given offset exists. Parameters int $offset The violation offset Return Value bool Whether the offset exists

DayTransformer::getReverseMatchingRegExp()

string getReverseMatchingRegExp(int $length) Returns a reverse matching regular expression of a string generated by format(). Parameters int $length The length of the value to be reverse matched Return Value string The reverse matching regular expression

Bundle\DebugBundle\DependencyInjection

Classes Configuration DebugExtension configuration structure. DebugExtension DebugExtension.

Stopwatch::stopSection()

stopSection(string $id) Stops the last started section. The id parameter is used to retrieve the events from this section. Parameters string $id The identifier of the section Exceptions LogicException When there's no started section to be stopped See also getSectionEvents()

TokenStream::expect()

expect(array|int $type, string|null $value = null, string|null $message = null) Tests a token. Parameters array|int $type The type to test string|null $value The token value string|null $message The syntax error message

Firewall

class Firewall implements EventSubscriberInterface Firewall uses a FirewallMap to register security listeners for the given request. It allows for different security strategies within the same application (a Basic authentication for the /api, and a web based authentication for everything else for instance). Methods __construct(FirewallMapInterface $map, EventDispatcherInterface $dispatcher) Constructor. onKernelRequest(GetResponseEvent $event) Handles security. onKernelFinishRe

FileType

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

HashNode

class HashNode extends AbstractNode Represents a "#" node. This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect. Methods string getNodeName() from AbstractNode __construct(NodeInterface $selector, string $id) NodeInterface getSelector() string getId() Specificity getSpecificity() Returns node's specificity. string __toString() Returns node's string representation. Details

Response::setStatusCode()

Response setStatusCode(int $code, mixed $text = null) Sets the response status code. Parameters int $code HTTP status code mixed $text HTTP status text If the status text is null it will be automatically populated for the known status codes and left empty otherwise. Return Value Response Exceptions InvalidArgumentException When the HTTP status code is not valid

Ldap::create()

static Ldap create(string $adapter, array $config = array()) Creates a new Ldap instance. Parameters string $adapter The adapter name array $config The adapter's configuration Return Value Ldap