ProjectWithXsdExtension.php 347 B

12345678910111213141516171819
  1. <?php
  2. class ProjectWithXsdExtension extends ProjectExtension
  3. {
  4. public function getXsdValidationBasePath()
  5. {
  6. return __DIR__.'/schema';
  7. }
  8. public function getNamespace()
  9. {
  10. return 'http://www.example.com/schema/projectwithxsd';
  11. }
  12. public function getAlias()
  13. {
  14. return 'projectwithxsd';
  15. }
  16. }