for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Graviton\I18nBundle\Document\TranslatableLanguage
*/
namespace Graviton\I18nBundle\Document;
use Graviton\DocumentBundle\Entity\ExtReference;
*
* @author List of contributors <https://github.com/libgraviton/graviton/graphs/contributors>
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @link http://swisscom.ch
class TranslatableLanguage
{
* @var MongoId $id
protected $id;
* @var ExtReference $ref
protected $ref;
* Get id
* @return string $id
MongoId
This check compares the return type specified in the @return annotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.
@return
public function getId()
return $this->id;
}
* Set ref
* @param ExtReference $ref value of extref
* @return self
public function setRef($ref)
$this->ref = $ref;
return $this;
* Get ref
* @return ExtReference $ref
public function getRef()
return $this->ref;
This check compares the return type specified in the
@returnannotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.