OutputFormatterStyleStack::setEmptyStyle()

OutputFormatterStyleStack setEmptyStyle(OutputFormatterStyleInterface $emptyStyle) Parameters OutputFormatterStyleInterface $emptyStyle Return Value OutputFormatterStyleStack

LocaleType::getParent()

string|null getParent() Returns the name of the parent type. Return Value string|null The name of the parent type if any, null otherwise

FormFactoryInterface::createForProperty()

FormInterface createForProperty(string $class, string $property, mixed $data = null, array $options = array()) Returns a form for a property of a class. Parameters string $class The fully qualified class name string $property The name of the property to guess for mixed $data The initial data array $options The options for the builder Return Value FormInterface The form named after the property Exceptions InvalidOptionsException if any given option is not applicable to the form

Component\Routing\Generator

Namespaces Symfony\Component\Routing\Generator\Dumper Classes UrlGenerator UrlGenerator can generate a URL or a path for any route in the RouteCollection based on the passed parameters. Interfaces ConfigurableRequirementsInterface ConfigurableRequirementsInterface must be implemented by URL generators that can be configured whether an exception should be generated when the parameters do not match the requirements. It is also possible to disable the requirements check for URL generati

AclInterface::getParentAcl()

AclInterface|null getParentAcl() Returns the parent ACL, or null if there is none. Return Value AclInterface|null

Glob

class Glob Glob matches globbing patterns against text. if match_glob("foo.*", "foo.bar") echo "matched\n"; // prints foo.bar and foo.baz $regex = globtoregex("foo.*"); for (array('foo.bar', 'foo.baz', 'foo', 'bar') as $t) { if (/$regex/) echo "matched: $car\n"; } Glob implements glob(3) style matching that can be used to match against text, rather than fetching names from a filesystem. Based on the Perl Text::Glob module. Methods static string toRegex(string $glob, bool $strictLeadingDo

ValidatorBuilder::getValidator()

ValidatorInterface getValidator() Builds and returns a new validator object. Return Value ValidatorInterface The built validator.

RuntimeException

class RuntimeException extends RuntimeException implements ExceptionInterface Exception class thrown when an error occurs during parsing.

Component\PropertyAccess\Exception

Classes InvalidPropertyPathException Thrown when a property path is malformed. NoSuchPropertyException Thrown when a property cannot be found. OutOfBoundsException Base OutOfBoundsException for the PropertyAccess component. RuntimeException Base RuntimeException for the PropertyAccess component. UnexpectedTypeException Thrown when a value does not match an expected type. Interfaces ExceptionInterface Marker interface for the PropertyAccess component.

ModelChoiceList::getPreferredViews()

array getPreferredViews() Returns the choice views of the preferred choices 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 levels