BufferedBundleReader

class BufferedBundleReader implements BundleReaderInterface Methods __construct(BundleReaderInterface $reader, int $bufferSize) Buffers a given reader. mixed read(string $path, string $locale) Reads a resource bundle. Details __construct(BundleReaderInterface $reader, int $bufferSize) Buffers a given reader. Parameters BundleReaderInterface $reader The reader to buffer int $bufferSize The number of entries to store in the buffer.

DumpNode

class DumpNode extends Twig_Node Methods __construct($varPrefix, Twig_Node $values = null, $lineno, $tag = null) compile(Twig_Compiler $compiler) {@inheritdoc} Details __construct($varPrefix, Twig_Node $values = null, $lineno, $tag = null) Parameters $varPrefix Twig_Node $values $lineno $tag compile(Twig_Compiler $compiler) {@inheritdoc} Parameters Twig_Compiler $compiler

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

ArrayChoiceList::getChoicesForValues()

array getChoicesForValues(array $values) Returns the choices corresponding to the given values. The choices are returned with the same keys and in the same order as the corresponding values in the given array. Parameters array $values An array of choice values. Non-existing values in this array are ignored Return Value array An array of choices

ValidatorBuilder::setConstraintValidatorFactory()

ValidatorBuilderInterface setConstraintValidatorFactory(ConstraintValidatorFactoryInterface $validatorFactory) Sets the constraint validator factory used by the validator. Parameters ConstraintValidatorFactoryInterface $validatorFactory The validator factory Return Value ValidatorBuilderInterface The builder object

StringUtils deprecated::equals()

static bool equals(string $knownString, string $userInput) Compares two strings. This method implements a constant-time algorithm to compare strings. Regardless of the used implementation, it will leak length information. Parameters string $knownString The string of known length to compare against string $userInput The string that the user can control Return Value bool true if the two strings are the same, false otherwise

FormConfigBuilderInterface::getFormConfig()

FormConfigInterface getFormConfig() Builds and returns the form configuration. Return Value FormConfigInterface

ClassMetadataFactoryInterface::hasMetadataFor()

bool hasMetadataFor(mixed $value) Checks if class has metadata. Parameters mixed $value Return Value bool

DebugBundle

class DebugBundle extends Bundle Traits ContainerAwareTrait ContainerAware trait. Methods setContainer(ContainerInterface $container = null) Sets the container. from ContainerAwareTrait boot() Boots the Bundle. shutdown() Shutdowns the Bundle. from Bundle build(ContainerBuilder $container) Builds the bundle. ExtensionInterface|null getContainerExtension() Returns the bundle's container extension. from Bundle string getNamespace() Gets the Bundle namespace. from