Documentation

ValidatedText extends Text
in package
implements InputProviderInterface

Table of Contents

Interfaces

InputProviderInterface

Properties

$validator  : ValidatorInterface|null

Methods

getInputSpecification()  : array<string|int, mixed>
Provide default input rules for this element
getValidator()  : ValidatorInterface
Get primary validator.

Properties

$validator

protected ValidatorInterface|null $validator = null

Methods

getInputSpecification()

Provide default input rules for this element

public getInputSpecification() : array<string|int, mixed>

Attaches a not empty validator and a string trim filter.

Tags
inheritDoc
Return values
array<string|int, mixed>

getValidator()

Get primary validator.

protected getValidator() : ValidatorInterface
Return values
ValidatorInterface

        
On this page

Search results