Skip to content

Commit 40e2a98

Browse files
authored
Update README.md
1 parent 91dd2ea commit 40e2a98

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,17 @@ class SiteController extends Controller{
181181
}
182182
```
183183

184-
### ![](http://angular.kobject.net/git/images/symfony.png) Symfony configuration
184+
### <img src="http://angular.kobject.net/git/images/symfony.png" width="30"> Symfony configuration
185185

186186
####Library loading
187187
If you do not use the Composer autoloader file, you can also load phpMv-UI with [Ps4ClassLoader](http://symfony.com/doc/current/components/class_loader/psr4_class_loader.html) :
188+
189+
```php
190+
use Symfony\Component\ClassLoader\Psr4ClassLoader;
191+
192+
require __DIR__.'/lib/ClassLoader/Psr4ClassLoader.php';
193+
194+
$loader = new Psr4ClassLoader();
195+
$loader->addPrefix('Ajax\\', __DIR__.'/lib/phpmv/php-mv-ui/Ajax');
196+
$loader->register();
197+
```

0 commit comments

Comments
 (0)