1: <?php
2:
3: namespace Chromabits\Nucleus\Control;
4:
5: /**
6: * Class Just
7: *
8: * @author Eduardo Trujillo <ed@chromabits.com>
9: * @package Chromabits\Nucleus\Control
10: */
11: class Just extends Maybe
12: {
13: /**
14: * @inheritDoc
15: */
16: public function isJust()
17: {
18: return true;
19: }
20:
21: /**
22: * @inheritDoc
23: */
24: public function isNothing()
25: {
26: return false;
27: }
28: }