Request::initialize()

initialize(array $query = array(), array $request = array(), array $attributes = array(), array $cookies = array(), array $files = array(), array $server = array(), string|resource $content = null) Sets the parameters for this request. This method also re-initializes all properties. Parameters array $query The GET parameters array $request The POST parameters array $attributes The request attributes (parameters parsed from the PATH_INFO, ...) array $cookies The COOKIE parameters ar

SearchType

class SearchType extends AbstractType Methods buildForm(FormBuilderInterface $builder, array $options) Builds the form. from AbstractType buildView(FormView $view, FormInterface $form, array $options) Builds the form view. from AbstractType finishView(FormView $view, FormInterface $form, array $options) Finishes the form view. from AbstractType configureOptions(OptionsResolver $resolver) Configures the options for this type. from AbstractType string getBlockPrefix() Returns

RegionBundleTransformationRule::afterCreateStub()

afterCreateStub(StubbingContextInterface $context) Runs instructions to be executed after creating the stub version of the resource bundle. Parameters StubbingContextInterface $context The contextual information of the compilation.

RouterDataCollector::collect()

collect(Request $request, Response $response, Exception $exception = null) Collects data for the given Request and Response. Parameters Request $request A Request instance Response $response A Response instance Exception $exception An Exception instance

FilesystemAdapter

class FilesystemAdapter extends AbstractAdapter Traits LoggerAwareTrait Methods static createSystemCache($namespace, $defaultLifetime, $version, $directory, LoggerInterface $logger = null) from AbstractAdapter getItem($key) {@inheritdoc} from AbstractAdapter getItems(array $keys = array()) {@inheritdoc} from AbstractAdapter hasItem($key) {@inheritdoc} from AbstractAdapter clear() {@inheritdoc} from AbstractAdapter deleteItem($key) {@inheritdoc} from AbstractAdap

CsrfProviderInterface deprecated

interface CsrfProviderInterface deprecated since version 2.4, to be removed in 3.0. Use {@link \Symfony\Component\Security\Csrf\CsrfTokenManagerInterface} instead. Marks classes able to provide CSRF protection. You can generate a CSRF token by using the method generateCsrfToken(). To this method you should pass a value that is unique to the page that should be secured against CSRF attacks. This value doesn't necessarily have to be secret. Implementations of this interface are responsible

UrlPackage deprecated

class UrlPackage extends Package deprecated since 2.7, will be removed in 3.0. Use the Asset component instead. The URL packages adds a version and a base URL to asset URLs. Methods __construct(string|array $baseUrls = array(), string $version = null, string $format = null) Constructor. string getVersion() Returns the asset package version. from Package string getUrl(string $path, string|bool|null $version = null) Returns an absolute or root-relative public path. string

PropertyAccessDecorator::createListFromLoader()

ChoiceListInterface createListFromLoader(ChoiceLoaderInterface $loader, null|callable $value = null) Creates a choice list that is loaded with the given loader. Optionally, a callable can be passed for generating the choice values. The callable receives the choice as first and the array key as the second argument. Parameters ChoiceLoaderInterface $loader The choice loader null|callable $value The callable generating the choice values Return Value ChoiceListInterface The choice

NumericNode

class NumericNode extends ScalarNode This node represents a numeric value in the config tree. Methods __construct(string $name, NodeInterface $parent = null, $min = null, $max = null) Constructor. setAttribute($key, $value) from BaseNode getAttribute($key, $default = null) from BaseNode hasAttribute($key) from BaseNode getAttributes() from BaseNode setAttributes(array $attributes) from BaseNode removeAttribute($key) from BaseNode setInfo(string $info) S

DateTimeNormalizer

class DateTimeNormalizer implements NormalizerInterface, DenormalizerInterface Normalizes an object implementing the {see \DateTimeInterface} to a date string. Denormalizes a date string to an instance of {see \DateTime} or {see \DateTimeImmutable}. Constants FORMAT_KEY Methods __construct(string $format = \DateTime::RFC3339) array|string|bool|int|float|null normalize(object $object, string $format = null, array $context = array()) Normalizes an object into a set of arrays/sc