Get an associative array of all the resources stored in the graph. The keys of the array is the URI of the EasyRdf_Resource.
array Array of EasyRdf_Resource
public function resources() {
foreach ($this->index as $subject => $properties) {
$this
->resource($subject);
}
foreach ($this->revIndex as $object => $properties) {
if (!isset($this->resources[$object])) {
$this
->resource($object);
}
}
return $this->resources;
}