-
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.
[I/O] Implement
ASCII
constants class
- Loading branch information
Showing
8 changed files
with
97 additions
and
27 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
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
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,48 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of the yannoff/console library | ||
* | ||
* (c) Yannoff (https://github.com/yannoff) | ||
* | ||
* @project yannoff/console | ||
* @link https://github.com/yannoff/console | ||
* @license https://github.com/yannoff/console/blob/master/LICENSE | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Yannoff\Component\Console\IO; | ||
|
||
/** | ||
* Class ASCII | ||
* ASCII character/sequence representation constants | ||
* | ||
* @package Yannoff\Component\Console\IO | ||
*/ | ||
class ASCII | ||
{ | ||
/** | ||
* New line string representations | ||
* | ||
* @var string | ||
*/ | ||
const LF = "\n"; | ||
const CR = "\r"; | ||
const CRLF = "\r\n"; | ||
|
||
/** | ||
* Tabulation character | ||
* | ||
* @var string | ||
*/ | ||
const TAB = "\t"; | ||
|
||
/** | ||
* Soft-tab string: 4 spaces | ||
* | ||
* @var string | ||
*/ | ||
const STAB = " "; | ||
} |
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