20 lines
363 B
PHP
20 lines
363 B
PHP
|
<?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';
|
||
|
}
|
||
|
}
|