20231008#1
This commit is contained in:
1 parent
37d3884205
commit
5b967d6439
2 files changed
+22
-1
No files matched your search
@@ -4,7 +4,6 @@ namespace Rmphp\Content;
|
|||||||
|
|
||||||
use Rmphp\Foundation\Exceptions\AppError;
|
use Rmphp\Foundation\Exceptions\AppError;
|
||||||
use Rmphp\Foundation\Exceptions\AppException;
|
use Rmphp\Foundation\Exceptions\AppException;
|
||||||
use Rmphp\Foundation\TemplateInterface;
|
|
||||||
|
|
||||||
class Content implements TemplateInterface {
|
class Content implements TemplateInterface {
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,22 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Created by PhpStorm.
|
||||||
|
* User: Zuev Yuri
|
||||||
|
* Date: 08.10.2023
|
||||||
|
* Time: 18:52
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace Rmphp\Content;
|
||||||
|
use \Rmphp\Foundation\TemplateInterface as BaseTemplateInterface;
|
||||||
|
|
||||||
|
interface TemplateInterface extends BaseTemplateInterface{
|
||||||
|
public function setTemplate(string $template, array $resource = []): TemplateInterface;
|
||||||
|
public function setSubtemplePath(string $subtemplatePath) : TemplateInterface;
|
||||||
|
public function getSubtemplePath(): string;
|
||||||
|
public function setValue(string $point, string $string) : void;
|
||||||
|
public function addValue(string $point, string $string) : void;
|
||||||
|
public function setSubtemple(string $point, string $subTempl, array $resource = []) : void;
|
||||||
|
public function addSubtemple(string $point, string $subTempl, array $resource = []) : void;
|
||||||
|
public function inc(string $incFile) : string;
|
||||||
|
public function getPoint(string $point) : string;
|
||||||
|
}
|
||||||
Reference in new issue
Block a user