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