-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
190cfa1
commit 51dffdb
Showing
9 changed files
with
100 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
layout: default | ||
title: Interfaces | ||
parent: Logger | ||
grand_parent: Components | ||
permalink: logger/interfaces | ||
nav_order: 102 | ||
--- | ||
|
||
|
||
|
||
# Interfaces | ||
|
||
(all in the `Centum\Interfaces\Logger` namespace) | ||
|
||
|
||
|
||
## [`Centum\Interfaces\Logger\LoggerInterface`](https://github.com/SidRoberts/centum/blob/development/src/Interfaces/Logger/LoggerInterface.php) | ||
|
||
```php | ||
log( | ||
string $message | ||
): void | ||
``` |
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,12 @@ | ||
--- | ||
layout: default | ||
title: Logger Actions | ||
parent: Testing | ||
permalink: testing/logger | ||
--- | ||
|
||
|
||
|
||
# Logger Actions | ||
|
||
[`Centum\Codeception\Actions\LoggerActions`](https://github.com/SidRoberts/centum/blob/development/src/Codeception/Actions/LoggerActions.php) |
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,8 @@ | ||
<?php | ||
|
||
namespace Centum\Codeception\Actions; | ||
|
||
trait LoggerActions | ||
{ | ||
//TODO | ||
} |
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,8 @@ | ||
<?php | ||
|
||
namespace Centum\Interfaces\Logger; | ||
|
||
interface LoggerInterface | ||
{ | ||
public function log(string $message): void; | ||
} |
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,13 @@ | ||
<?php | ||
|
||
namespace Centum\Logger; | ||
|
||
use Centum\Interfaces\Logger\LoggerInterface; | ||
|
||
class Logger implements LoggerInterface | ||
{ | ||
public function log(string $message): void | ||
{ | ||
//TODO | ||
} | ||
} |
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,16 @@ | ||
<?php | ||
|
||
namespace Tests\Codeception; | ||
|
||
use Tests\Support\CodeceptionTester; | ||
|
||
/** | ||
* @covers \Centum\Codeception\Actions\LoggerActions | ||
*/ | ||
class LoggerActionsCest | ||
{ | ||
public function testGrabCookies(CodeceptionTester $I): void | ||
{ | ||
$I->markTestIncomplete(); | ||
} | ||
} |
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,16 @@ | ||
<?php | ||
|
||
namespace Tests\Unit\Logger; | ||
|
||
use Tests\Support\UnitTester; | ||
|
||
/** | ||
* @covers \Centum\Logger\Logger | ||
*/ | ||
class LoggerCest | ||
{ | ||
public function test(UnitTester $I): void | ||
{ | ||
$I->markTestIncomplete(); | ||
} | ||
} |