File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 11<?php
22/**
3- * Automatically loads all required und used classes.
3+ * php-graphql features an own autoloader, for cases where this library is not
4+ * used and included via composer, but rather as a git submodule. If you are using
5+ * composer for managing libraries, etc. you can ignore this file and use the default
6+ * composer autoloader via `require '/vendor/autoload.php'`. However if you prefer using this
7+ * project via git submodules, you can use this autoloader via `require /php-graphql/src/autoloader.php`.
48 */
59spl_autoload_register (function ($ className ) {
6- // replace remove GraphQL namespace
10+ // remove GraphQL namespace
711 $ className = str_replace ("GraphQL \\" , "" , $ className );
812
913 // change \ to /
You can’t perform that action at this time.
0 commit comments