-
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.
- Loading branch information
Yukihiro Arisawa
committed
Apr 29, 2024
1 parent
39c9529
commit 18f818b
Showing
5 changed files
with
63 additions
and
6 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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Iamyukihiro\Aquarium\Domain\Enum; | ||
|
||
class BreedNameType | ||
{ | ||
public const HI_MEDAKA = '緋目高'; | ||
public const MIYUKI = 'みゆき'; | ||
public const YOUKIHI = '楊貴妃'; | ||
public const OROCHI = 'オロチ'; | ||
|
||
/** @return string[] */ | ||
public static function getBreedNameForMedaka(): array | ||
{ | ||
return [ | ||
self::HI_MEDAKA, | ||
self::MIYUKI, | ||
self::YOUKIHI, | ||
self::OROCHI, | ||
]; | ||
} | ||
} |
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,10 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Iamyukihiro\Aquarium\Domain\Enum; | ||
|
||
class FishType | ||
{ | ||
public const MEDAKA = 'メダカ'; | ||
} |
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