class Validate extends Command (View source)

Properties

protected string $signature

The name and signature of the console command.

protected string $description

The console command description.

Methods

void
handle()

Execute the console command.

array
validate(string $xmlFile, string $xsdFile, int $flags = 0)

No description

string|null
getElement(string $message)

Get element from message.

string
getMessage(string $message)

Get refined message.

Details

void handle()

Execute the console command.

Return Value

void

array validate(string $xmlFile, string $xsdFile, int $flags = 0)

No description

Parameters

string $xmlFile
string $xsdFile
int $flags

Return Value

array

See also

https://www.php.net/manual/en/class.simplexmlelement.php#107869

protected string|null getElement(string $message)

Get element from message.

Parameters

string $message

Return Value

string|null

protected string getMessage(string $message)

Get refined message.

Parameters

string $message

Return Value

string