OptionsResolverInterface deprecated::setAllowedTypes()

OptionsResolverInterface setAllowedTypes(array $allowedTypes) Sets allowed types for a list of options. Parameters array $allowedTypes A list of option names as keys and type names passed as string or array as values. Return Value OptionsResolverInterface The resolver instance. Exceptions InvalidOptionsException If an option has not been defined for which an allowed type is set.

FileinfoMimeTypeGuesser::guess()

string guess(string $path) Guesses the mime type of the file with the given path. Parameters string $path The path to the file Return Value string The mime type or NULL, if none could be guessed Exceptions FileNotFoundException If the file does not exist AccessDeniedException If the file could not be read

Forms

class Forms Entry point of the Form component. Use this class to conveniently create new form factories: use Symfony\Component\Form\Forms; $formFactory = Forms::createFormFactory(); $form = $formFactory->createBuilder() ->add('firstName', 'Symfony\Component\Form\Extension\Core\Type\TextType') ->add('lastName', 'Symfony\Component\Form\Extension\Core\Type\TextType') ->add('age', 'Symfony\Component\Form\Extension\Core\Type\IntegerType') ->add('gender', 'Symfony\Component\Form\Ex

Component\Routing\Matcher\Dumper

Classes ApacheMatcherDumper Dumps a set of Apache mod_rewrite rules. DumperCollection Collection of routes. DumperPrefixCollection Prefix tree of routes preserving routes order. DumperRoute Container for a Route. MatcherDumper MatcherDumper is the abstract class for all built-in matcher dumpers. PhpMatcherDumper PhpMatcherDumper creates a PHP class able to match URLs for a given set of routes. Interfaces MatcherDumperInterface MatcherDumperInterface is the interface

ProxyAdapter::save()

save(CacheItemInterface $item) {@inheritdoc} Parameters CacheItemInterface $item

ClassMetadataInterface::getAttributesMetadata()

AttributeMetadataInterface[] getAttributesMetadata() Gets the list of {@link AttributeMetadataInterface}. Return Value AttributeMetadataInterface[]

AbstractObjectNormalizer

class AbstractObjectNormalizer extends AbstractNormalizer Base class for a normalizer dealing with objects. Traits SerializerAwareTrait SerializerAware trait. Constants CIRCULAR_REFERENCE_LIMIT OBJECT_TO_POPULATE GROUPS ENABLE_MAX_DEPTH DEPTH_KEY_PATTERN Methods setSerializer(SerializerInterface $serializer) Sets the serializer. from SerializerAwareTrait __construct(ClassMetadataFactoryInterface $classMetadataFactory = null, NameConverterInterface $nameCon

PasswordEncoderInterface::encodePassword()

string encodePassword(string $raw, string $salt) Encodes the raw password. Parameters string $raw The password to encode string $salt The salt Return Value string The encoded password

ArrayNodeDefinition::normalizeKeys()

ArrayNodeDefinition normalizeKeys(bool $bool) Sets key normalization. Parameters bool $bool Whether to enable key normalization Return Value ArrayNodeDefinition

LoggingFormatter::formatInlineService()

formatInlineService(CompilerPassInterface $pass, $id, $target) Parameters CompilerPassInterface $pass $id $target