Browse Source

fixed namespaces

pull/1/head
Cerys Lewis 1 week ago
parent
commit
c7869fb564
  1. 4
      Examples/ExampleScripts/generateMessageSchema.php
  2. 2
      Examples/Schemas/Message.php

4
Examples/ExampleScripts/generateMessageSchema.php

@ -1,12 +1,12 @@
<?php <?php
namespace Darksparrow\Deegraph\examples\SchemaBuilder; namespace Darksparrow\AuxiliumSchemaBuilder\examples\SchemaBuilder;
require_once __DIR__ . "/../../vendor/autoload.php"; require_once __DIR__ . "/../../vendor/autoload.php";
require_once __DIR__ . "/../../Examples/Schemas/Message.php"; require_once __DIR__ . "/../../Examples/Schemas/Message.php";
use Darksparrow\Deegraph\Examples\SchemaBuilder\Schemas\Message; use Darksparrow\AuxiliumSchemaBuilder\Examples\SchemaBuilder\Schemas\Message;
use Darksparrow\AuxiliumSchemaBuilder\SchemaBuilder\SchemaBuilder; use Darksparrow\AuxiliumSchemaBuilder\SchemaBuilder\SchemaBuilder;
SchemaBuilder::RenderSchema(new Message()); SchemaBuilder::RenderSchema(new Message());

2
Examples/Schemas/Message.php

@ -1,6 +1,6 @@
<?php <?php
namespace Darksparrow\Deegraph\Examples\SchemaBuilder\Schemas; namespace Darksparrow\AuxiliumSchemaBuilder\Examples\SchemaBuilder\Schemas;
require_once __DIR__ . "/../../vendor/autoload.php"; require_once __DIR__ . "/../../vendor/autoload.php";
use Darksparrow\AuxiliumSchemaBuilder\Attributes\SchemaDocumentChildField; use Darksparrow\AuxiliumSchemaBuilder\Attributes\SchemaDocumentChildField;

Loading…
Cancel
Save