sample/sample.php
private function dynamicSchemaExample(): void
    {
        echo 'Neomerx JSON API sample application (dynamic schema)' . PHP_EOL;

        $results = $this->samples->getDynamicSchemaExample();
        echo $results[0] . PHP_EOL;
        echo $results[1] . PHP_EOL;
    }
private function dynamicSchemaExample(): void
    {
        echo 'Neomerx JSON API sample application (dynamic schema)' . PHP_EOL;

        $results = $this->samples->getDynamicSchemaExample();
        echo $results[0] . PHP_EOL;
        echo $results[1] . PHP_EOL;
    }
private function dynamicSchemaExample ( ) : void { echo 'Neomerx JSON API sample application (dynamic schema)' . PHP_EOL ; $ results = $ this -> samples -> getDynamicSchemaExample ( ) ; echo $ results [ 0 ] . PHP_EOL ; echo $ results [ 1 ] . PHP_EOL ; }
Shows how schema could change dynamically.

@return void
Shows how schema could change dynamically .