Response::prepare()

Response prepare(Request $request) Prepares the Response before it is sent to the client. This method tweaks the Response to ensure that it is compliant with RFC 2616. Most of the changes are based on the Request that is "associated" with this Response. Parameters Request $request A Request instance Return Value Response The current response

GoneHttpException

class GoneHttpException extends HttpException GoneHttpException. Methods __construct($message = null, Exception $previous = null, $code) Constructor. int getStatusCode() Returns the status code. from HttpException array getHeaders() Returns response headers. from HttpException Details __construct($message = null, Exception $previous = null, $code) Constructor. Parameters $message Exception $previous $code

CacheWarmerAggregate::warmUp()

warmUp(string $cacheDir) Warms up the cache. Parameters string $cacheDir The cache directory

RegisterMappingsPass

class RegisterMappingsPass implements CompilerPassInterface Base class for the doctrine bundles to provide a compiler pass class that helps to register doctrine mappings. The compiler pass is meant to register the mappings with the metadata chain driver corresponding to one of the object managers. For concrete implementations that are easy to use, see the RegisterXyMappingsPass classes in the DoctrineBundle resp. DoctrineMongodbBundle, DoctrineCouchdbBundle and DoctrinePhpcrBundle. Methods

NodeExtension::translateHash()

XPathExpr translateHash(HashNode $node, Translator $translator) Parameters HashNode $node Translator $translator Return Value XPathExpr

FormTypeInterface

interface FormTypeInterface Methods buildForm(FormBuilderInterface $builder, array $options) Builds the form. 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. string|null getPare

ReflectionExtractor::isReadable()

bool|null isReadable(string $class, string $property, array $context = array()) Is the property readable? Parameters string $class string $property array $context Return Value bool|null

TranslatorInterface

interface TranslatorInterface TranslatorInterface. Methods string trans(string $id, array $parameters = array(), string|null $domain = null, string|null $locale = null) Translates the given message. string transChoice(string $id, int $number, array $parameters = array(), string|null $domain = null, string|null $locale = null) Translates the given choice message by choosing a translation according to a number. setLocale(string $locale) Sets the current locale. string getLoc

FormInterface::isRequired()

bool isRequired() Returns whether the form is required to be filled out. If the form has a parent and the parent is not required, this method will always return false. Otherwise the value set with setRequired() is returned. Return Value bool

TimeType::buildForm()

buildForm(FormBuilderInterface $builder, array $options) Builds the form. This method is called for each type in the hierarchy starting from the top most type. Type extensions can further modify the form. Parameters FormBuilderInterface $builder The form builder array $options The options