for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Ivoaz ContentEditable bundle.
*
* (c) Ivo Azirjans <[email protected]>
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Ivoaz\Bundle\ContentEditableBundle\Model;
/**
* @author Ivo Azirjans <[email protected]>
class Content
{
* @var int
private $id;
* @var string
private $name;
private $locale;
private $text;
* @param int $id
* @return $this
public function setId($id)
$this->id = $id;
return $this;
}
* @return int
public function getId()
return $this->id;
* @param string $name
public function setName($name)
$this->name = $name;
* @return string
public function getName()
return $this->name;
* @param string $locale
public function setLocale($locale)
$this->locale = $locale;
public function getLocale()
return $this->locale;
* @param string $text
public function setText($text)
$this->text = $text;
public function getText()
return $this->text;