Glob

class Glob implements ValueInterface Methods __construct(string $pattern) string render() Renders string representation of expression. string renderPattern() Renders string representation of pattern. int getType() Returns expression type. bool isCaseSensitive() Returns value case sensitivity. ValueInterface prepend(string $expr) ValueInterface append(string $expr) bool isExpandable() Tests if glob is expandable ("*.{a,b}" syntax). Regex toRegex(bo

Glob::isExpandable()

bool isExpandable() Tests if glob is expandable ("*.{a,b}" syntax). Return Value bool

GetterMetadata

class GetterMetadata extends MemberMetadata Stores all metadata needed for validating a class property via its getter method. A property getter is any method that is equal to the property's name, prefixed with either "get" or "is". That method will be used to access the property's value. The getter will be invoked by reflection, so the access of private and protected getters is supported. This class supports serialization and cloning. Properties Constraint[] $constraints from GenericMeta

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

GetSetMethodNormalizer::supportsDenormalization()

bool supportsDenormalization(mixed $data, string $type, string $format = null) Checks whether the given class is supported for denormalization by this normalizer. Parameters mixed $data Data to denormalize from string $type The class to which the data should be denormalized string $format The format being deserialized from Return Value bool

GetSetMethodNormalizer::denormalize()

object denormalize(mixed $data, string $class, string $format = null, array $context = array()) Denormalizes data back into an object of the given class. Parameters mixed $data data to restore string $class the expected class to instantiate string $format format the given data was extracted from array $context options available to the denormalizer Return Value object

GetSetMethodNormalizer::supportsNormalization()

bool supportsNormalization(mixed $data, string $format = null) Checks whether the given class is supported for normalization by this normalizer. Parameters mixed $data Data to normalize string $format The format being (de-)serialized from or into Return Value bool

GetSetMethodNormalizer

class GetSetMethodNormalizer extends AbstractObjectNormalizer Converts between objects with getter and setter methods and arrays. The normalization process looks at all public methods and calls the ones which have a name starting with get and take no parameters. The result is a map from property names (method name stripped of the get prefix and converted to lower case) to property values. Property values are normalized through the serializer. The denormalization first looks at the constructo

GetResponseForExceptionEvent

class GetResponseForExceptionEvent extends GetResponseEvent Allows to create a response for a thrown exception. Call setResponse() to set the response that will be returned for the current request. The propagation of this event is stopped as soon as a response is set. You can also call setException() to replace the thrown exception. This exception will be thrown if no response is set during processing of this event. Methods bool isPropagationStopped() Returns whether further event listen

GetResponseForControllerResultEvent::setControllerResult()

setControllerResult(mixed $controllerResult) Assigns the return value of the controller. Parameters mixed $controllerResult The controller return value