bvp / converter
Converter in the Boatrace Venture Project.
1.0.0
2025-01-11 12:44 UTC
Requires
- php: ^8.1
- bvp/prefecture: ^1.0
- bvp/stadium: ^1.0
- bvp/terminology: ^1.0
- bvp/trimmer: ^1.0
- nesbot/carbon: ^2.63 || ^3.0
- php-di/php-di: ^6.1 || ^7.0
Requires (Dev)
- phpunit/phpunit: ^10.1
README
Installation
composer require bvp/converter
Usage
<?php require __DIR__ . '/vendor/autoload.php'; use Boatrace\Venture\Project\Converter; var_dump(Converter::techniqueIdByName('逃げ')); // int(1) var_dump(Converter::techniqueIdByName('差し')); // int(2) var_dump(Converter::techniqueIdByName('まくり')); // int(3) var_dump(Converter::techniqueIdByName('まくり差し')); // int(4) var_dump(Converter::techniqueIdByName('抜き')); // int(5) var_dump(Converter::techniqueIdByName('恵まれ')); // int(6) var_dump(Converter::techniqueNameById(1)); // string(6) "逃げ" var_dump(Converter::techniqueNameById(2)); // string(6) "差し" var_dump(Converter::techniqueNameById(3)); // string(9) "まくり" var_dump(Converter::techniqueNameById(4)); // string(15) "まくり差し" var_dump(Converter::techniqueNameById(5)); // string(6) "抜き" var_dump(Converter::techniqueNameById(6)); // string(9) "恵まれ"
License
Converter in the Boatrace Venture Project is open source software licensed under the MIT license.