for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of GitterBot package.
*
* @author Serafim <[email protected]>
* @date 26.01.2016 5:21
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace App\Console;
* Class CircleProgress
* @package App\Console
class CircleProgress
{
* @var int
protected $iterator = 0;
* @var array
protected static $icons = ['|', '/', '−', '\\'];
* @return mixed
public function get()
if ($this->iterator >= count(static::$icons)) {
$this->iterator = 0;
}
return static::$icons[$this->iterator++];