1: <?php
2:
3: /**
4: * Copyright 2015, Eduardo Trujillo
5: *
6: * For the full copyright and license information, please view the LICENSE
7: * file that was distributed with this source code.
8: *
9: * This file is part of the Nucleus package
10: */
11:
12: namespace Chromabits\Nucleus\View\Interfaces;
13:
14: /**
15: * Interface RenderableInterface.
16: *
17: * Represents an object that can be rendered into a string.
18: *
19: * @author Eduardo Trujillo <ed@chromabits.com>
20: * @package Chromabits\Nucleus\View\Interfaces
21: */
22: interface RenderableInterface
23: {
24: /**
25: * Render the object into a string.
26: *
27: * @return mixed
28: */
29: public function render();
30: }
31: