mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
define encoding as interface const
This commit is contained in:
parent
83a5fc9d6e
commit
53626a602a
2 changed files with 2 additions and 2 deletions
|
|
@ -151,7 +151,7 @@ class Markup implements \Yggverse\Yoda\Interface\Model\Gtk\Pango\Markup
|
|||
$markup,
|
||||
mb_strlen(
|
||||
$markup,
|
||||
'UTF-8'
|
||||
self::ENCODING
|
||||
)
|
||||
);
|
||||
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ namespace Yggverse\Yoda\Interface\Model\Gtk\Pango;
|
|||
*/
|
||||
interface Markup
|
||||
{
|
||||
public const ENCODING = 'UTF-8';
|
||||
public const TAG_CODE = 'tt';
|
||||
|
||||
public const WRAP_WIDTH = 140;
|
||||
|
||||
public static function code(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue