for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace devtoolboxuk\cerberus\Handlers;
abstract class AbstractHandler
{
private $active = false;
private $wrappers = [];
private $value;
private $name;
private $prefixes;
private $score;
public function __construct($value)
$this->setValue($value);
}
public function getValue()
return $this->value;
protected function setValue($value)
$this->value = $value;
return $this;
public function getName()
return $this->name;
protected function setName($value)
$this->name = $value;
public function getWrappers()
return $this->wrappers;
public function isActive()
return $this->active;
public function getScore()
return $this->score;
public function setScore($score)
$this->score = $score;
public function pushWrapper($wrapper)
array_unshift($this->wrappers, $wrapper);
protected function getPrefixes()
return $this->prefixes;