-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OXDEV-8215: Merge Theme and Module functionality (Services, DT and Fi…
…lters)
- Loading branch information
1 parent
f200685
commit 3fb5eb4
Showing
49 changed files
with
530 additions
and
832 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
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
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
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
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
This file was deleted.
Oops, something went wrong.
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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 |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<?php | ||
|
||
/** | ||
* Copyright © OXID eSales AG. All rights reserved. | ||
* See LICENSE file for license details. | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
||
namespace OxidEsales\GraphQL\ConfigurationAccess\Shared\DataType; | ||
|
||
use TheCodingMachine\GraphQLite\Annotations\Field; | ||
use TheCodingMachine\GraphQLite\Annotations\Type; | ||
|
||
#[Type] | ||
abstract class AbstractComponentDataType implements ComponentDataTypeInterface | ||
{ | ||
public function __construct( | ||
private readonly string $id, | ||
private readonly string $title, | ||
private readonly string $version, | ||
private readonly string $description, | ||
private readonly bool $active | ||
) { | ||
} | ||
|
||
#[Field] | ||
public function getId(): string | ||
{ | ||
return $this->id; | ||
} | ||
|
||
#[Field] | ||
public function getTitle(): string | ||
{ | ||
return $this->title; | ||
} | ||
|
||
#[Field] | ||
public function getVersion(): string | ||
{ | ||
return $this->version; | ||
} | ||
|
||
#[Field] | ||
public function getDescription(): string | ||
{ | ||
return $this->description; | ||
} | ||
|
||
#[Field] | ||
public function isActive(): bool | ||
{ | ||
return $this->active; | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
namespace OxidEsales\GraphQL\ConfigurationAccess\Shared\DataType; | ||
|
||
interface ComponentDataTypeInterface | ||
{ | ||
public function getId(): string; | ||
|
||
public function getTitle(): string; | ||
|
||
public function getVersion(): string; | ||
|
||
public function getDescription(): string; | ||
|
||
public function isActive(): bool; | ||
} |
Oops, something went wrong.