for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the CMS Kernel library.
*
* Copyright (c) 2016 LIN3S <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace LIN3S\CMSKernel\Infraestructure\Model\Translation;
use LIN3S\CMSKernel\Domain\Model\Translation\Translation as TranslationInterface;
/**
* @author Beñat Espiña <[email protected]>
* @author Gorka Laucirica <[email protected]>
abstract class Translation implements TranslationInterface
{
protected $locale;
protected $origin;
public function __construct(Locale $locale)
$this->locale = $locale;
}
public function locale()
return $this->locale;
public function origin()
return $this->origin;