for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace detox\source;
class Text
{
private $text;
private $replaceChars;
private $prefix;
private $postfix;
public function __construct(string $text)
$this->text = $text;
}
public function setText(string $text) : void
public function getText() : string
return $this->text;
/**
* @param mixed $replaceChars
*/
public function setReplaceChars(string $replaceChars) : void
$this->replaceChars = $replaceChars;
* @return mixed
public function getReplaceChars() : string
return $this->replaceChars;
* @param mixed $prefix
public function setPrefix($prefix) : void
$this->prefix = $prefix;
public function getPostfix()
return $this->postfix;
* @param mixed $postfix
public function setPostfix($postfix) : void
$this->postfix = $postfix;
public function getPrefix()
return $this->prefix;