for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the LineMob package.
*
* (c) Ishmael Doss <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace LineMob\Core\Storage;
/**
* @author Ishmael Doss <[email protected]>
class Command implements CommandInterface
{
* @var string
private $code;
private $cmd;
private $name;
private $description;
* @var bool
private $enabled = true;
* {@inheritdoc}
public function getCode()
return $this->code;
}
public function setCode($code)
$this->code = $code;
public function getCmd()
return $this->cmd;
public function setCmd($cmd)
$this->cmd = $cmd;
public function getName()
return $this->name;
public function setName($name)
$this->name = $name;
public function getDescription()
return $this->description;
public function setDescription($description)
$this->description = $description;
public function isEnabled()
return $this->enabled;
public function setEnabled($enabled)
$this->enabled = $enabled;