Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 31f8be3afa
Fetching contributors…

Cannot retrieve contributors at this time

executable file 153 lines (127 sloc) 2.302 kB
<?php
namespace PSS\Bundle\BlogBundle\Entity;
// Symfony/Doctrine internal
use Doctrine\ORM\Mapping as ORM;
// Specific
// Domain objects
// Entities
/**
* @ORM\Table(name="wp_options")
* @ORM\Entity
*/
class Option
{
/**
* @var integer $id
*
* @ORM\Column(name="option_id", type="bigint", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var integer $blogId
*
* @ORM\Column(name="blog_id", type="integer", nullable=false)
*/
private $blogId;
/**
* @var string $name
*
* @ORM\Column(name="option_name", type="string", length=64, nullable=false)
*/
private $name;
/**
* @var text $value
*
* @ORM\Column(name="option_value", type="text", nullable=false)
*/
private $value;
/**
* @var string $autoload
*
* @ORM\Column(name="autoload", type="string", length=20, nullable=false)
*/
private $autoload;
/**
* Get id
*
* @return bigint
*/
public function getId()
{
return $this->id;
}
/**
* Set blogId
*
* @param integer $blogId
*/
public function setBlogId($blogId)
{
$this->blogId = $blogId;
}
/**
* Get blogId
*
* @return integer
*/
public function getBlogId()
{
return $this->blogId;
}
/**
* Set name
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* Get name
*
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Set value
*
* @param text $value
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* Get value
*
* @return text
*/
public function getValue()
{
return $this->value;
}
/**
* Set autoload
*
* @param string $autoload
*/
public function setAutoload($autoload)
{
$this->autoload = $autoload;
}
/**
* Get autoload
*
* @return string
*/
public function getAutoload()
{
return $this->autoload;
}
}
Jump to Line
Something went wrong with that request. Please try again.