dqneo/fizzbuzz-enterprise-edition
最新稳定版本:v1.0.1
Composer 安装命令:
composer require dqneo/fizzbuzz-enterprise-edition
包简介
FizzBuzz Enterprise Edition
关键字:
README 文档
README
FizzBuzz with too much object oriented programming.
INSTALLATION
git clone https://github.com/DQNEO/php-FizzBuzzEnterpriseEdition.git
cd php-FizzBuzzEnterpriseEdition
composer install
Usage
./bin/fizzbuzz.php 100
FizzBuzz
The rules of FizzBuzz are as follows:
For numbers 1 through 100,
- if the number is divisible by 3 print Fizz;
- if the number is divisible by 5 print Buzz;
- if the number is divisible by 3 and 5 (15) print FizzBuzz;
- else, print the number.
TODO
- enable to select various writer (stdout, stderr, mail, fluent, file, null, monolog)
- enable web interface (use Slim or Siliex with Symfony Reponse)
- use Symfony Console
- measure code coverage
SEE ALSO
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 10
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3
- 更新时间: 2015-03-18