Skip to content

Commit

Permalink
modify quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
kimpham54 committed Apr 12, 2017
1 parent f1bd37a commit 021dd45
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Then just `php composer.phar install` as usual.
use Islandora\Chullo\Chullo;

// Instantiated with static factory
$chullo = Chullo::create(http://localhost:8080/fcrepo/rest);
$chullo = Chullo::create("http://localhost:8080/fcrepo/rest");

// Create a new resource
$uri = $chullo->createResource(); // http://localhost:8080/fcrepo/rest/0b/0b/6c/68/0b0b6c68-30d8-410c-8a0e-154d0fd4ca20
Expand All @@ -55,7 +55,7 @@ $uri = $chullo->createResource(); // http://localhost:8080/fcrepo/rest/0b/0b/6c/
$graph = $chullo->getGraph($uri);

// Set the resource’s title
$graph->set($uri, 'dc:title', 'My Sweet Title');
$graph->set($uri, "dc:title", "My Sweet Title");

// Save the graph to Fedora
$chullo->saveGraph($uri, $graph);
Expand All @@ -67,7 +67,7 @@ $chullo->saveGraph($uri, $graph);
```php
use Islandora\Chullo\TriplestoreClient;

$triplestore = TriplestoreClient::create('http://127.0.0.1:8080/bigdata/namespace/kb/sparql/');
$triplestore = TriplestoreClient::create("http://127.0.0.1:8080/bigdata/namespace/kb/sparql/");

$sparql = <<<EOD
PREFIX fedora: <http://fedora.info/definitions/v4/repository#>
Expand Down

0 comments on commit 021dd45

Please sign in to comment.