Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 7 |
CRAP | |
0.00% |
0 / 70 |
| Profile | |
0.00% |
0 / 1 |
|
0.00% |
0 / 7 |
56 | |
0.00% |
0 / 64 |
| getid() | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 4 |
|||
| setfullname($fullname) | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 5 |
|||
| getFullName() | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 4 |
|||
| setUserName($username) | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 5 |
|||
| getUserName() | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 4 |
|||
| setCurrentWeight($currentWeight) | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 5 |
|||
| getCurrentWeight() | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 4 |
|||
| <?php | |
| namespace BodyRep\Entity; | |
| use Doctrine\ORM\Mapping as ORM; | |
| use Symfony\Component\Security\Core\User\UserInterface; | |
| /** | |
| * Bodyrep\Entity\Profile | |
| * | |
| * @ORM\Table(name="member") | |
| * @ORM\Entity | |
| */ | |
| class Profile | |
| { | |
| /** | |
| * @var integer $id | |
| * | |
| * @ORM\Column(name="id", type="integer") | |
| * @ORM\Id | |
| * @ORM\GeneratedValue(strategy="AUTO") | |
| */ | |
| private $id; | |
| /** | |
| * @var string $fullname | |
| * | |
| * @ORM\Column(name="fullname", type="string") | |
| */ | |
| private $fullname; | |
| /** | |
| * @var string $username | |
| * | |
| * @ORM\Column(name="username", type="string") | |
| */ | |
| private $username; | |
| /** | |
| * @var float $currentweight | |
| * | |
| * @ORM\Column(name="currentweight", type="float") | |
| */ | |
| private $currentweight; | |
| /** | |
| * Get id | |
| * | |
| * @return integer | |
| */ | |
| public function getid() | |
| { | |
| return $this->id; | |
| } | |
| /** | |
| * Set fullName | |
| * | |
| * @param string $fullname | |
| * @return Profile | |
| */ | |
| public function setfullname($fullname) | |
| { | |
| $this->fullname = $fullname; | |
| return $this; | |
| } | |
| /** | |
| * Get fullName | |
| * | |
| * @return string | |
| */ | |
| public function getFullName() | |
| { | |
| return $this->fullname; | |
| } | |
| /** | |
| * Set userName | |
| * | |
| * @param string $username | |
| * @return Profile | |
| */ | |
| public function setUserName($username) | |
| { | |
| $this->username = $userName; | |
| return $this; | |
| } | |
| /** | |
| * Get userName | |
| * | |
| * @return string | |
| */ | |
| public function getUserName() | |
| { | |
| return $this->username; | |
| } | |
| /** | |
| * Set currentWeight | |
| * | |
| * @param float $currentWeight | |
| * @return Profile | |
| */ | |
| public function setCurrentWeight($currentWeight) | |
| { | |
| $this->currentweight = $currentWeight; | |
| return $this; | |
| } | |
| /** | |
| * Get currentWeight | |
| * | |
| * @return float | |
| */ | |
| public function getCurrentWeight() | |
| { | |
| return $this->currentweight; | |
| } | |
| } |