20 lines
363 B
PHP
Executable File
20 lines
363 B
PHP
Executable File
<?php
|
|
|
|
class ProjectWithXsdExtension extends ProjectExtension
|
|
{
|
|
public function getXsdValidationBasePath()
|
|
{
|
|
return __DIR__.'/schema';
|
|
}
|
|
|
|
public function getNamespace(): string
|
|
{
|
|
return 'http://www.example.com/schema/projectwithxsd';
|
|
}
|
|
|
|
public function getAlias(): string
|
|
{
|
|
return 'projectwithxsd';
|
|
}
|
|
}
|