rename setter

This commit is contained in:
yggverse 2024-07-18 11:31:35 +03:00
parent e90faf7686
commit 2cb2205b1a
4 changed files with 6 additions and 6 deletions

View file

@ -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;
} }

View file

@ -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')
); );
} }

View file

@ -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

View file

@ -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
{ {