for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Victoire\Bundle\APIBusinessEntityBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* API endpoint.
*
* @ORM\Entity()
* @ORM\Table("vic_api_endpoint")
*/
class APIEndpoint
{
* @var int
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
protected $id;
* @var string
* @ORM\Column(name="name", type="string", length=255)
protected $name;
* @ORM\Column(name="host", type="text")
protected $host;
* @ORM\Column(name="token", type="text", nullable=true)
protected $token;
* @ORM\Column(name="tokenType", type="string", nullable=true)
protected $tokenType;
* Get the id.
* @return string The id
public function getId()
return $this->id;
}
* @return string
public function getName()
return $this->name;
* @param string $name
public function setName($name)
$this->name = $name;
public function getHost()
return $this->host;
* @param string $host
public function setHost($host)
$this->host = $host;
public function getToken()
return $this->token;
* @param string $token
public function setToken($token)
$this->token = $token;
public function getTokenType()
return $this->tokenType;
* @param string $tokenType
public function setTokenType($tokenType)
$this->tokenType = $tokenType;