Skip to content

Commit

Permalink
Create resolvable_design.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ackspony authored Nov 9, 2019
1 parent 7873bf2 commit 965677e
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions src/flat/tmpl/resolvable_design.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<?php
/**
* class definition
*
* PHP version >=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 <retran@gmail.com>
* @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 <retran@gmail.com>
* @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;
}

0 comments on commit 965677e

Please sign in to comment.