for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Pim\Bundle\CustomEntityBundle\Entity;
use Akeneo\Component\Localization\Model\AbstractTranslation;
use Akeneo\Component\Localization\Model\TranslationInterface;
/**
* @author Antoine Guigan <[email protected]>
* @copyright 2013 Akeneo SAS (http://www.akeneo.com)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*
* @deprecated will be removed in 1.7, please use \Akeneo\Component\Localization\Model\AbstractTranslation
*/
class AbstractCustomOptionTranslation extends AbstractTranslation implements TranslationInterface
{
* @var string $label
protected $label;
* @param string $label
* @return AbstractCustomOptionTranslation
public function setLabel($label)
$this->label = $label;
return $this;
}
public function getLabel()
return $this->label;
* @return string
public function __toString()
return (string) $this->label;