From 965677e912297fa075990bef5a96e496fce0aece Mon Sep 17 00:00:00 2001 From: Doug Bird Date: Fri, 8 Nov 2019 19:35:27 -0800 Subject: [PATCH] Create resolvable_design.php --- src/flat/tmpl/resolvable_design.php | 48 +++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 src/flat/tmpl/resolvable_design.php diff --git a/src/flat/tmpl/resolvable_design.php b/src/flat/tmpl/resolvable_design.php new file mode 100644 index 0000000..6d475fd --- /dev/null +++ b/src/flat/tmpl/resolvable_design.php @@ -0,0 +1,48 @@ +=7.1 + * + * Copyright (c) 2012-2017 Doug Bird. + * All Rights Reserved. + * + * COPYRIGHT NOTICE: + * The flat framework. https://github.com/katmore/flat + * Copyright (c) 2012-2017 Doug Bird. + * ALL RIGHTS RESERVED. THIS COPYRIGHT APPLIES TO THE ENTIRE CONTENTS OF THE WORKS HEREIN + * UNLESS A DIFFERENT COPYRIGHT NOTICE IS EXPLICITLY PROVIDED WITH AN EXPLANATION OF WHERE + * THAT DIFFERENT COPYRIGHT APPLIES. WHERE SUCH A DIFFERENT COPYRIGHT NOTICE IS PROVIDED + * IT SHALL APPLY EXCLUSIVELY TO THE MATERIAL AS DETAILED WITHIN THE NOTICE. + * + * The flat framework is copyrighted free software. + * You can redistribute it and/or modify it under either the terms and conditions of the + * "The MIT License (MIT)" (see the file MIT-LICENSE.txt); or the terms and conditions + * of the "GPL v3 License" (see the file GPL-LICENSE.txt). + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @license The MIT License (MIT) http://opensource.org/licenses/MIT + * @license GNU General Public License, version 3 (GPL-3.0) http://opensource.org/licenses/GPL-3.0 + * @link https://github.com/katmore/flat + * @author D. Bird + * @copyright Copyright (c) 2012-2017 Doug Bird. All Rights Reserved. + */ +namespace flat\tmpl; +/** + * interface to indicate to the template controller that + * a template (in actvp\tmpl) should resolve to an + * explicit design path (rather than deriving from the resolution + * by correlating the resource path to the namespace) + * + * @package flat\tmpl + * @author D. Bird + * @copyright Copyright (c) 2012-2014 Doug Bird. All Rights Reserved. + * @version 0.1.0-alpha + * + */ +interface resolvable_design { + public function resolvable_design_output(\flat\tmpl\data $data) : void; +}