PhpEngine::renderResponse()

Response renderResponse(string $view, array $parameters = array(), Response $response = null) Renders a view and returns a Response. Parameters string $view The view name array $parameters An array of parameters to pass to the view Response $response A Response instance Return Value Response A Response instance Exceptions RuntimeException if the template cannot be rendered

NodeExtension::translateFunction()

XPathExpr translateFunction(FunctionNode $node, Translator $translator) Parameters FunctionNode $node Translator $translator Return Value XPathExpr

Component\Debug\Exception

Classes ContextErrorException Error Exception with Variable Context. DummyException Used to stop execution of a PHP script after handling a fatal error. FatalErrorException Fatal Error Exception. FlattenException FlattenException wraps a PHP Exception to be able to serialize it.

PhpGeneratorDumper

class PhpGeneratorDumper extends GeneratorDumper PhpGeneratorDumper creates a PHP class able to generate URLs for a given set of routes. Methods __construct(RouteCollection $routes) Constructor. from GeneratorDumper RouteCollection getRoutes() Gets the routes to dump. from GeneratorDumper string dump(array $options = array()) Dumps a set of routes to a PHP class. Details __construct(RouteCollection $routes) Constructor. Parameters Ro

FormTypeExtensionInterface::buildForm()

buildForm(FormBuilderInterface $builder, array $options) Builds the form. This method is called after the extended type has built the form to further modify it. Parameters FormBuilderInterface $builder The form builder array $options The options See also FormTypeInterface::buildForm()

Finder::notPath()

Finder|SplFileInfo[] notPath(string $pattern) Adds rules that filenames must not match. You can use patterns (delimited with / sign) or simple strings. $finder->notPath('some/special/dir') $finder->notPath('/some\/special\/dir/') // same as above Use only / as dirname separator. Parameters string $pattern A pattern (a regexp or a string) Return Value Finder|SplFileInfo[] The current Finder instance See also FilenameFilterIterator

Command deprecated::arg()

Command arg(string $arg) Appends an argument, will be quoted. Parameters string $arg Return Value Command The current Command instance

Application::getLongVersion()

string getLongVersion() Returns the long version of the application. Return Value string The long application version

AdapterInterface deprecated::setPath()

AdapterInterface setPath(array $paths) Parameters array $paths Return Value AdapterInterface Current instance

FormFactoryBuilder::addTypeGuesser()

FormFactoryBuilderInterface addTypeGuesser(FormTypeGuesserInterface $typeGuesser) Adds a type guesser to the factory. Parameters FormTypeGuesserInterface $typeGuesser The type guesser. Return Value FormFactoryBuilderInterface The builder.