Skip to content

Commit

Permalink
Merge pull request #8 from MLKiiwy/fix-api-bundle-generator
Browse files Browse the repository at this point in the history
Renaming DunglasJsonLdApiBundle to DunglasApiBundle.
  • Loading branch information
dunglas committed Apr 22, 2015
2 parents 0fa11f1 + bffaf83 commit a0ad7b4
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
use SchemaOrgModel\TypesGenerator;

/**
* Generates Iri annotations provided by DunglasJsonLdApiBundle.
* Generates Iri annotations provided by DunglasApiBundle.
*
* @author Kévin Dunglas <[email protected]>
*
* @link https://github.com/dunglas/DunglasJsonLdApiBundle
* @link https://github.com/dunglas/DunglasApiBundle
*/
class DunglasJsonLdApiAnnotationGenerator extends AbstractAnnotationGenerator
class DunglasApiAnnotationGenerator extends AbstractAnnotationGenerator
{
/**
* {@inheritdoc}
Expand Down Expand Up @@ -48,6 +48,6 @@ public function generateUses($className)
$subClassOf = $resource->get('rdfs:subClassOf');
$typeIsEnum = $subClassOf && $subClassOf->getUri() === TypesGenerator::SCHEMA_ORG_ENUMERATION;

return $typeIsEnum ? [] : ['Dunglas\JsonLdApiBundle\Annotation\Iri'];
return $typeIsEnum ? [] : ['Dunglas\ApiBundle\Annotation\Iri'];
}
}

0 comments on commit a0ad7b4

Please sign in to comment.