Skip to content

Commit

Permalink
Add a PHP class to abstract the path to the schema (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmachatschek authored and howard committed Mar 19, 2019
1 parent 8cad30b commit 2669d68
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,10 @@
"email": "[email protected]"
}
],
"require": {}
"require": {},
"autoload": {
"psr-0": {
"FINDOLOGIC\\Export\\": "src/main/php/"
}
}
}
8 changes: 8 additions & 0 deletions src/main/php/FINDOLOGIC/Export/Constant.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

namespace FINDOLOGIC\Export;

class Constant
{
public static $XSD_SCHEMA_PATH = __DIR__ . '/../../../resources/findologic.xsd';
}

0 comments on commit 2669d68

Please sign in to comment.