RedirectResponse::create()

static Response create($url = '', int $status = 302, array $headers = array()) Factory method for chainability. Example: return Response::create($body, 200) ->setSharedMaxAge(300); Parameters $url int $status The response status code array $headers An array of response headers Return Value Response

RouterHelper::url()

string url(string $name, mixed $parameters = array(), bool $schemeRelative = false) Generates a URL reference (as an absolute URL or network path) to the route with the given parameters. Parameters string $name The name of the route mixed $parameters An array of parameters bool $schemeRelative Whether to omit the scheme in the generated URL reference Return Value string The generated URL reference See also UrlGeneratorInterface

Kernel::getCacheDir()

string getCacheDir() Gets the cache directory. Return Value string The cache directory

ProxyDumper::isProxyCandidate()

bool isProxyCandidate(Definition $definition) Inspects whether the given definitions should produce proxy instantiation logic in the dumped container. Parameters Definition $definition Return Value bool

NodeDefinition::getNode()

NodeInterface getNode(bool $forceRootNode = false) Creates the node. Parameters bool $forceRootNode Whether to force this node as the root node Return Value NodeInterface

ModelType::setDefaultOptions()

setDefaultOptions(OptionsResolverInterface $resolver) Sets the default options for this type. Parameters OptionsResolverInterface $resolver The resolver for the options.

EntryManagerInterface::remove()

remove(Entry $entry) Removes an entry from the Ldap server. Parameters Entry $entry

SessionHelper::getName()

string getName() Returns the canonical name of this helper. Return Value string The canonical name

FormConfigBuilder::isValidName()

static bool isValidName(string $name) Returns whether the given variable contains a valid form name. A name is accepted if it is empty starts with a letter, digit or underscore contains only letters, digits, numbers, underscores ("_"), hyphens ("-") and colons (":") Parameters string $name The tested form name Return Value bool Whether the name is valid

ModelChoiceList::getRemainingViews()

array getRemainingViews() Returns the choice views of the choices that are not preferred as nested array with the choice groups as top-level keys. Example: array( 'Group 1' => array( 10 => ChoiceView object, 20 => ChoiceView object, ), 'Group 2' => array( 30 => ChoiceView object, ), ) Return Value array A nested array containing the views with the corresponding choice indices as keys on the lowest levels and the choice group names in the keys of the higher leve