fix lists in readme
[mixstore.git] / src / Mixstore / StoreBundle / Entity / Language.php
... / ...
CommitLineData
1<?php
2
3namespace Mixstore\StoreBundle\Entity;
4
5use Doctrine\ORM\Mapping as ORM;
6
7/**
8 * Language
9 *
10 * @ORM\Table()
11 * @ORM\Entity
12 */
13class Language
14{
15 /**
16 * @var integer
17 *
18 * @ORM\Column(name="id", type="integer")
19 * @ORM\Id
20 * @ORM\GeneratedValue(strategy="AUTO")
21 */
22 private $id;
23
24 /**
25 * @var string
26 *
27 * @ORM\Column(name="name", type="string", length=32, unique=true)
28 */
29 private $name;
30
31 public function __construct($name)
32 {
33 $this->name = $name;
34 }
35
36 /**
37 * Get id
38 *
39 * @return integer
40 */
41 public function getId()
42 {
43 return $this->id;
44 }
45
46 /**
47 * Set name
48 *
49 * @param string $name
50 * @return Language
51 */
52 public function setName($name)
53 {
54 $this->name = $name;
55
56 return $this;
57 }
58
59 /**
60 * Get name
61 *
62 * @return string
63 */
64 public function getName()
65 {
66 return $this->name;
67 }
68}
69
70/*
71* current languages
72C, C#, C++, Java, Julia, Python, R, Fortran, Lua, Matlab, Octave, Scilab
73* others
74Javascript,Objective-C,Perl, PHP,Ruby,Shell,Scala, Go,Groovy,Ada, Android,Boo, Clojure, Common Lisp, Delphi, Eiffel, Erlang, Fantom,Haskell,Node.js, OCaml,Prolog
75*/