Callback

class Callback extends Constraint Constants DEFAULT_GROUP The name of the group given to all constraints with no explicit group. CLASS_CONSTRAINT Marks a constraint that can be put onto classes. PROPERTY_CONSTRAINT Marks a constraint that can be put onto properties. Properties mixed $payload Domain-specific data attached to a constraint. from Constraint array $groups The groups that the constraint belongs to from Constraint string|callable $callback Methods static string

Parser::parseHashExpression()

parseHashExpression()

InputDefinition

class InputDefinition A InputDefinition represents a set of valid command line arguments and options. Usage: $definition = new InputDefinition(array( new InputArgument('name', InputArgument::REQUIRED), new InputOption('foo', 'f', InputOption::VALUE_REQUIRED), )); Methods __construct(array $definition = array()) Constructor. setDefinition(array $definition) Sets the definition of the input. setArguments(InputArgument[] $arguments = array()) Sets the InputArgument objects.

EncoderInterface::supportsEncoding()

bool supportsEncoding(string $format) Checks whether the serializer can encode to given format. Parameters string $format format name Return Value bool

RegistryInterface::getEntityManagers()

array getEntityManagers() Gets an array of all registered entity managers. Return Value array An array of EntityManager instances

Validation

class Validation Entry point for the Validator component. Methods static ValidatorInterface createValidator() Creates a new validator. static ValidatorBuilderInterface createValidatorBuilder() Creates a configurable builder for validator objects. Details static ValidatorInterface createValidator() Creates a new validator. If you want to configure the validator, use {@link createValidatorBuilder()} instead. Return Value ValidatorInterface

MoneyType::getBlockPrefix()

string getBlockPrefix() Returns the prefix of the template block name for this type. The block prefix defaults to the underscored short class name with the "Type" suffix removed (e.g. "UserProfileType" => "user_profile"). Return Value string The prefix of the template block name

LocaleBundleTransformationRule::getBundleName()

string getBundleName() Returns the name of the compiled resource bundle. Return Value string The name of the bundle.

Translator

class Translator implements TranslatorInterface, TranslatorBagInterface Translator. Methods __construct(string $locale, MessageSelector $selector = null, string|null $cacheDir = null, bool $debug = false) Constructor. setConfigCacheFactory(ConfigCacheFactoryInterface $configCacheFactory) Sets the ConfigCache factory to use. addLoader(string $format, LoaderInterface $loader) Adds a Loader. addResource(string $format, mixed $resource, string $locale, string $domain = null) A

FormDataCollectorInterface::getData()

array getData() Returns all collected data. Return Value array