Skip to content

Commit

Permalink
added setters and getters for MsgFrmtr and Locale inside FrmtrHtmlInt…
Browse files Browse the repository at this point in the history
…erface.php
  • Loading branch information
dwilbourne committed Apr 22, 2024
1 parent 865c3b9 commit ef16f2f
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/frmtr/html/FrmtrHtmlInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@
namespace pvc\interfaces\frmtr\html;

use pvc\interfaces\frmtr\FrmtrInterface;
use pvc\interfaces\frmtr\msg\FrmtrMsgInterface;
use pvc\interfaces\html\tag\TagInterface;
use pvc\interfaces\html\tag\TagVoidInterface;
use pvc\interfaces\intl\LocaleInterface;

/**
* Class FrmtrHtmlInterface
Expand All @@ -24,4 +26,28 @@ interface FrmtrHtmlInterface extends FrmtrInterface
* @return string
*/
public function format($value): string;

/**
* setMsgFrmtr
* @param FrmtrMsgInterface $frmtrMsg
*/
public function setMsgFrmtr(FrmtrMsgInterface $frmtrMsg): void;

/**
* getMsgFrmtr
* @return FrmtrMsgInterface
*/
public function getMsgFrmtr(): FrmtrMsgInterface;

/**
* setLocale
* @param LocaleInterface $locale
*/
public function setLocale(LocaleInterface $locale): void;

/**
* getLocale
* @return LocaleInterface
*/
public function getLocale(): LocaleInterface;
}

0 comments on commit ef16f2f

Please sign in to comment.