for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Hyde\Framework\Modules\Metadata\Models;
class MetadataElement extends BaseMetadataElement
{
protected string $name;
protected string $content;
public function __construct(string $name, string $content)
$this->name = $name;
$this->content = $content;
}
public function __toString(): string
return sprintf('<meta name="%s" content="%s">', e($this->name), e($this->content));
public function uniqueKey(): string
return $this->name;