Reader::getPosition()

int getPosition() Return Value int

Reader::findPattern()

bool findPattern(string $pattern) Parameters string $pattern Return Value bool

Reader::getOffset()

int getOffset(string $string) Parameters string $string Return Value int

Reader::getRemainingLength()

int getRemainingLength() Return Value int

RangeValidator

class RangeValidator extends ConstraintValidator Constants PRETTY_DATE Whether to format {@link \DateTime} objects as RFC-3339 dates ("Y-m-d H:i:s"). OBJECT_TO_STRING Whether to cast objects with a "__toString()" method to strings. Methods initialize(ExecutionContextInterface $context) Initializes the constraint validator. from ConstraintValidator validate(mixed $value, Constraint $constraint) Checks if the passed value is valid. Details initial

Reader

class Reader CSS selector reader. This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect. Methods __construct(string $source) bool isEOF() int getPosition() int getRemainingLength() string getSubstring(int $length, int $offset) int getOffset(string $string) bool findPattern(string $pattern) moveForward(int $length) moveToEnd() Details

RangeType

class RangeType 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

RangeType::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

RangeType::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

Range

class Range 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. INVALID_CHARACTERS_ERROR TOO_HIGH_ERROR TOO_LOW_ERROR Properties mixed $payload Domain-specific data attached to a constraint. from Constraint array $groups The groups that the constraint belongs to from Co