-
Notifications
You must be signed in to change notification settings - Fork 1
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 #5 from picamator/development
Release 1.3.0
- Loading branch information
Showing
54 changed files
with
1,024 additions
and
384 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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 |
---|---|---|
|
@@ -7,3 +7,6 @@ parameters: | |
- generate-transfer | ||
excludePaths: | ||
- tests/*/data/* | ||
ignoreErrors: | ||
- | ||
identifier: propertyGetHook.noRead |
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,12 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Picamator\TransferObject\Command\Exception; | ||
|
||
use Exception; | ||
use Picamator\TransferObject\Exception\TransferExceptionInterface; | ||
|
||
class CommandException extends Exception implements TransferExceptionInterface | ||
{ | ||
} |
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,30 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Picamator\TransferObject\TransferGenerator\Config\Config; | ||
|
||
use Picamator\TransferObject\Generated\ConfigContentTransfer; | ||
|
||
final readonly class Config implements ConfigInterface | ||
{ | ||
public function __construct( | ||
private ConfigContentTransfer $configTransfer, | ||
) { | ||
} | ||
|
||
public function getTransferNamespace(): string | ||
{ | ||
return $this->configTransfer->transferNamespace; | ||
} | ||
|
||
public function getTransferPath(): string | ||
{ | ||
return $this->configTransfer->transferPath; | ||
} | ||
|
||
public function getDefinitionPath(): string | ||
{ | ||
return $this->configTransfer->definitionPath; | ||
} | ||
} |
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,23 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Picamator\TransferObject\TransferGenerator\Config\Config; | ||
|
||
interface ConfigInterface | ||
{ | ||
/** | ||
* @throws \Picamator\TransferObject\TransferGenerator\Config\Exception\ConfigNotFoundException | ||
*/ | ||
public function getTransferNamespace(): string; | ||
|
||
/** | ||
* @throws \Picamator\TransferObject\TransferGenerator\Config\Exception\ConfigNotFoundException | ||
*/ | ||
public function getTransferPath(): string; | ||
|
||
/** | ||
* @throws \Picamator\TransferObject\TransferGenerator\Config\Exception\ConfigNotFoundException | ||
*/ | ||
public function getDefinitionPath(): string; | ||
} |
Oops, something went wrong.