FormFactoryInterface::createBuilderForProperty()

FormBuilderInterface createBuilderForProperty(string $class, string $property, mixed $data = null, array $options = array()) Returns a form builder for a property of a class. If any of the 'required' and type options can be guessed, and are not provided in the options argument, the guessed value is used. Parameters string $class The fully qualified class name string $property The name of the property to guess for mixed $data The initial data array $options The options for the

PhpEngine::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

Bundle\FrameworkBundle\CacheWarmer

Classes RouterCacheWarmer Generates the router matcher and generator classes. TemplateFinder Finds all the templates. TemplatePathsCacheWarmer Computes the association between template names and their paths on the disk. Interfaces TemplateFinderInterface Interface for finding all the templates.

Component\Intl\Data\Bundle\Compiler

Classes GenrbCompiler Compiles .txt resource bundles to binary .res files. Interfaces BundleCompilerInterface Compiles a resource bundle.

Hour2401Transformer::extractDateOptions()

array extractDateOptions(string $matched, int $length) Extract date options from a matched value returned by the processing of the reverse matching regular expression. Parameters string $matched The matched value int $length The length of the Transformer pattern string Return Value array An associative array

NativeSessionTokenStorage::removeToken()

string|null removeToken(string $tokenId) Removes a CSRF token. Parameters string $tokenId The token ID Return Value string|null Returns the removed token if one existed, NULL otherwise

Response::setMaxAge()

Response setMaxAge(int $value) Sets the number of seconds after which the response should no longer be considered fresh. This methods sets the Cache-Control max-age directive. Parameters int $value Number of seconds Return Value Response

Expression

class Expression implements ValueInterface Constants TYPE_REGEX TYPE_GLOB Methods static Expression create(string $expr) __construct(string $expr) string __toString() string render() Renders string representation of expression. string renderPattern() Renders string representation of pattern. bool isCaseSensitive() int getType() ValueInterface prepend(string $expr) ValueInterface append(string $expr) bool isRegex() bool isG

ModelChoiceList::getChoicesForValues()

array getChoicesForValues(array $values) Returns the choices corresponding to the given values. The choices can have any data type. The choices must be 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. Not existing values in this array are ignored Return Value array An array of choices with ascending, 0-based numeric keys

Process::addErrorOutput()

addErrorOutput(string $line) Adds a line to the STDERR stream. Parameters string $line The line to append