We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82406cc commit c613621Copy full SHA for c613621
slides/slides.html
@@ -293,12 +293,12 @@ <h1>Creating a session</h1>
293
use PHPCR\SimpleCredentials;
294
295
// start of implementation specific configuration //
296
- use Jackalope\RepositoryFactoryJackrabbit as Factory;
297
$parameters = array(
298
'jackalope.jackrabbit_uri'
299
=> 'http://localhost:8080/server',
300
);
301
- $repository = Factory::getRepository($parameters);
+ $factory = new \Jackalope\RepositoryFactoryJackrabbit();
+ $repository = $factory->getRepository($parameters);
302
// end of implementation specific configuration //
303
304
$creds = new SimpleCredentials('admin','admin');
0 commit comments