-
-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from MLKiiwy/fix-api-bundle-generator
Renaming DunglasJsonLdApiBundle to DunglasApiBundle.
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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} | ||
|
@@ -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']; | ||
} | ||
} |