for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace pjpawel\Magis\Helper;
/**
* @author Paweł Podgórski <[email protected]>
*/
class Style extends AbstractComponent
{
private string $style;
public function __construct(string $style)
$this->style = $style;
}
public function show(): string
return '<style>' . $this->style . '</style>';
public static function new(string $style): self
return new self($style);