1: <?php
2: /**
3: * You may not change or alter any portion of this comment or credits
4: * of supporting developers from this source code or any supporting source code
5: * which is considered copyrighted (c) material of the original comment or credit authors.
6: * This program is distributed in the hope that it will be useful,
7: * but WITHOUT ANY WARRANTY; without even the implied warranty of
8: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
9: */
10:
11: namespace Xoops\Core\Handler\Scheme;
12:
13: use Xoops\Core\Handler\FactorySpec;
14: use Xoops\Core\Kernel\XoopsObjectHandler;
15:
16: /**
17: * SchemeInterface
18: *
19: * @category Xoops\Core\Handler\Scheme
20: * @package Xoops\Core
21: * @author Richard Griffith <richard@geekwright.com>
22: * @copyright 2015 XOOPS Project (http://xoops.org)
23: * @license GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
24: * @link http://xoops.org
25: */
26: interface SchemeInterface
27: {
28: /**
29: * @param FactorySpec $spec specification for requested handler
30: *
31: * @return XoopsObjectHandler handler object
32: */
33: public function build(FactorySpec $spec);
34: }
35: