1: <?php
2:
3: namespace Chromabits\Nucleus\Foundation;
4:
5: use Chromabits\Nucleus\Exceptions\LackOfCoffeeException;
6:
7: /**
8: * Class StaticObject
9: *
10: * @author Eduardo Trujillo <ed@chromabits.com>
11: * @package Chromabits\Nucleus\Foundation
12: */
13: class StaticObject extends BaseObject
14: {
15: /**
16: * @inheritDoc
17: */
18: public function __construct()
19: {
20: parent::__construct();
21:
22: throw new LackOfCoffeeException(vsprintf(
23: 'The constructor of %s was called, but this is declared as'
24: . ' static.',
25: [static::class]
26: ));
27: }
28: }
29: