for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace PhpAbac\Model;
abstract class AbstractAttribute
{
/** @var string **/
protected $name;
protected $type;
protected $slug;
/** @var mixed **/
protected $value;
public function setName(string $name): AbstractAttribute
$this->name = $name;
return $this;
}
public function getName(): string
return $this->name;
public function setType(string $type): AbstractAttribute
$this->type = $type;
public function getType(): string
return $this->type;
public function setSlug(string $slug): AbstractAttribute
$this->slug = $slug;
public function getSlug(): string
return $this->slug;
public function setValue($value): AbstractAttribute
$this->value = $value;
public function getValue()
return $this->value;