Skip to content

Commit 6f14b14

Browse files
committed
base CLI class
Signed-off-by: Derek Smart <derek@grindaga.com>
1 parent 1d6ee21 commit 6f14b14

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

src/CLI.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?php
2+
namespace PHPRed;
3+
4+
class CLI
5+
{
6+
private $mysqli;
7+
8+
public function __construct(\mysqli $mysqli)
9+
{
10+
$this->mysqli = $mysqli;
11+
$this->welcome();
12+
}
13+
14+
private function welcome()
15+
{
16+
fwrite(STDERR, 'Welcome' . "\n\n");
17+
}
18+
}

0 commit comments

Comments
 (0)