Browse Source

namespace from `DeegraphPHP` to `AuxiliumSchemaBuilder`

master
Cerys 5 months ago
parent
commit
b9adee491b
  1. 2
      Examples/ExampleScripts/generateMessageSchema.php
  2. 2
      src/Attributes/SchemaDocument.php
  3. 4
      src/Attributes/SchemaDocumentField.php
  4. 2
      src/Exceptions/SchemaNameUnsetException.php
  5. 8
      src/SchemaBuilder/SchemaBuilder.php

2
Examples/ExampleScripts/generateMessageSchema.php

@ -7,7 +7,7 @@ require_once __DIR__ . "/../../../vendor/autoload.php";
require_once __DIR__ . "/../../../Examples/SchemaBuilder/Schemas/Message.php"; require_once __DIR__ . "/../../../Examples/SchemaBuilder/Schemas/Message.php";
use Darksparrow\Deegraph\Examples\SchemaBuilder\Schemas\Message; use Darksparrow\Deegraph\Examples\SchemaBuilder\Schemas\Message;
use Darksparrow\DeegraphPHP\SchemaBuilder\SchemaBuilder; use Darksparrow\AuxiliumSchemaBuilder\SchemaBuilder\SchemaBuilder;
$example = new Message(); $example = new Message();
$result = SchemaBuilder::GenerateSchema($example); $result = SchemaBuilder::GenerateSchema($example);

2
src/Attributes/SchemaDocument.php

@ -1,6 +1,6 @@
<?php <?php
namespace Darksparrow\DeegraphPHP\SchemaBuilder\Attributes; namespace Darksparrow\AuxiliumSchemaBuilder\Attributes;
use PhpParser\Node\Attribute; use PhpParser\Node\Attribute;

4
src/Attributes/SchemaDocumentField.php

@ -1,9 +1,9 @@
<?php <?php
namespace Darksparrow\DeegraphPHP\SchemaBuilder\Attributes; namespace Darksparrow\AuxiliumSchemaBuilder\Attributes;
use Darksparrow\DeegraphPHP\Enumerators\SchemaFieldExistence; use Darksparrow\AuxiliumSchemaBuilder\Enumerators\SchemaFieldExistence;
use PhpParser\Node\Attribute; use PhpParser\Node\Attribute;
use PhpParser\Node\Name; use PhpParser\Node\Name;

2
src/Exceptions/SchemaNameUnsetException.php

@ -1,6 +1,6 @@
<?php <?php
namespace Darksparrow\DeegraphPHP\Exceptions; namespace Darksparrow\AuxiliumSchemaBuilder\Exceptions;
use Exception; use Exception;

8
src/SchemaBuilder.php → src/SchemaBuilder/SchemaBuilder.php

@ -1,10 +1,10 @@
<?php <?php
namespace Darksparrow\DeegraphPHP\SchemaBuilder; namespace Darksparrow\AuxiliumSchemaBuilder\SchemaBuilder;
use Darksparrow\DeegraphPHP\Exceptions\SchemaNameUnsetException; use Darksparrow\AuxiliumSchemaBuilder\Exceptions\SchemaNameUnsetException;
use Darksparrow\DeegraphPHP\SchemaBuilder\Attributes\SchemaDocument; use Darksparrow\AuxiliumSchemaBuilder\SchemaBuilder\Attributes\SchemaDocument;
use Darksparrow\DeegraphPHP\SchemaBuilder\Attributes\SchemaDocumentField; use Darksparrow\AuxiliumSchemaBuilder\SchemaBuilder\Attributes\SchemaDocumentField;
use ReflectionClass; use ReflectionClass;
class SchemaBuilder class SchemaBuilder
Loading…
Cancel
Save