for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace BWC\Share\Config\Model;
class Config implements ConfigInterface
{
/** @var string */
protected $name;
protected $type;
/** @var \DateTime|null */
protected $expiresAt;
/** @var bool|int|string|array|object */
protected $value;
/**
* @param string $name
* @return $this|ConfigInterface
*/
public function setName($name)
$this->name = $name;
return $this;
}
* @return string
public function getName()
return $this->name;
* @param string $type
public function setType($type)
$this->type = $type;
public function getType()
return $this->type;
* @param \DateTime|null $expiresAt
* @return $this|Config
public function setExpiresAt(\DateTime $expiresAt = null)
$this->expiresAt = $expiresAt;
* @return \DateTime|null
public function getExpiresAt()
return $this->expiresAt;
* @param array|bool|int|object|string $value
public function setValue($value)
$this->value = $value;
* @return array|bool|int|object|string
public function getValue()
return $this->value;