You are here

public function EasyRdf_Resource::typesAsResources in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/easyrdf/easyrdf/lib/EasyRdf/Resource.php \EasyRdf_Resource::typesAsResources()

Get a list of types for a resource, as Resources.

Return value

EasyRdf_Resource[]

Throws

EasyRdf_Exception

File

vendor/easyrdf/easyrdf/lib/EasyRdf/Resource.php, line 577

Class

EasyRdf_Resource
Class that represents an RDF resource

Code

public function typesAsResources() {
  $this
    ->checkHasGraph();
  return $this->graph
    ->typesAsResources($this->uri);
}