Skip to content

Instantly share code, notes, and snippets.

@b01
Created December 3, 2016 18:13
Show Gist options
  • Save b01/000fceac76b3bec7bee540dc656b54c3 to your computer and use it in GitHub Desktop.
Save b01/000fceac76b3bec7bee540dc656b54c3 to your computer and use it in GitHub Desktop.

Revisions

  1. b01 created this gist Dec 3, 2016.
    13 changes: 13 additions & 0 deletions json-to-src
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    <?php
    /**
    * Modify the template data.
    *
    * @param array $renderData
    * @return array
    */
    return function (array $renderData) {
    $renderData['classNamespace'] = 'Tests\\Companies';

    return $renderData;
    };
    ?>