mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 17:45:28 +00:00
rename setter
This commit is contained in:
parent
e90faf7686
commit
2cb2205b1a
4 changed files with 6 additions and 6 deletions
|
|
@ -71,7 +71,7 @@ abstract class Markup
|
||||||
string $href
|
string $href
|
||||||
);
|
);
|
||||||
|
|
||||||
abstract public function setSource(
|
abstract public function set(
|
||||||
string $value
|
string $value
|
||||||
): void;
|
): void;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -77,7 +77,7 @@ class Content
|
||||||
$this
|
$this
|
||||||
);
|
);
|
||||||
|
|
||||||
$document->setSource(
|
$document->set(
|
||||||
$data
|
$data
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
@ -89,7 +89,7 @@ class Content
|
||||||
$this
|
$this
|
||||||
);
|
);
|
||||||
|
|
||||||
$document->setSource(
|
$document->set(
|
||||||
$data
|
$data
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
@ -110,7 +110,7 @@ class Content
|
||||||
$this
|
$this
|
||||||
);
|
);
|
||||||
|
|
||||||
$document->setSource(
|
$document->set(
|
||||||
_('MIME type not supported')
|
_('MIME type not supported')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ use \Yggverse\Net\Address;
|
||||||
|
|
||||||
class Gemtext extends Markup
|
class Gemtext extends Markup
|
||||||
{
|
{
|
||||||
public function setSource(
|
public function set(
|
||||||
string $value,
|
string $value,
|
||||||
string | null &$title = null,
|
string | null &$title = null,
|
||||||
bool $preformatted = false
|
bool $preformatted = false
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ use \Yggverse\Yoda\Abstract\Entity\Browser\Container\Page\Content\Markup;
|
||||||
|
|
||||||
class Plain extends Markup
|
class Plain extends Markup
|
||||||
{
|
{
|
||||||
public function setSource(
|
public function set(
|
||||||
string $value
|
string $value
|
||||||
): void
|
): void
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue