Bristol SU Support Package
src
Testing
FakesLogicTesters.php
Go to the documentation of this file.
1
<?php
2
3
namespace
BristolSU\Support\Testing
;
4
5
use
BristolSU\Support\Logic\Contracts\LogicTester
;
6
use
BristolSU\Support\Testing\LogicTester\LogicTesterFake
;
7
11
trait
FakesLogicTesters
12
{
18
private
$logicTester
;
19
25
public
function
logicTester
()
26
{
27
if
($this->logicTester === null) {
28
$this->logicTester =
new
LogicTesterFake
();
29
}
30
return
$this->logicTester;
31
}
32
33
}
BristolSU\Support\Testing\LogicTester\LogicTesterFake
Definition:
LogicTesterFake.php:14
BristolSU\Support\Testing
BristolSU\Support\Testing\FakesLogicTesters\logicTester
logicTester()
Definition:
FakesLogicTesters.php:25
LogicTesterFake
LogicTester
BristolSU\Support\Testing\FakesLogicTesters\$logicTester
$logicTester
Definition:
FakesLogicTesters.php:18
BristolSU\Support\Testing\FakesLogicTesters
Definition:
FakesLogicTesters.php:11
Generated by
1.8.13