for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/*
* This file is part of the timechimp bundle package.
* (c) Connect Holland.
*/
namespace ConnectHolland\TimechimpBundle\Api\Model;
class Task
{
/**
* @var int
protected $id;
* @var bool
protected $active;
* Task name is required.
*
* @var string
protected $name;
protected $code;
* @var float
protected $hourlyRate;
protected $billable;
protected $common;
protected $unspecified;
public function getId(): int
return $this->id;
}
public function setId(int $id): self
$this->id = $id;
return $this;
public function getActive(): bool
return $this->active;
public function setActive(bool $active): self
$this->active = $active;
public function getName(): string
return $this->name;
public function setName(string $name): self
$this->name = $name;
public function getCode(): string
return $this->code;
public function setCode(string $code): self
$this->code = $code;
public function getHourlyRate(): float
return $this->hourlyRate;
public function setHourlyRate(float $hourlyRate): self
$this->hourlyRate = $hourlyRate;
public function getBillable(): bool
return $this->billable;
public function setBillable(bool $billable): self
$this->billable = $billable;
public function getCommon(): bool
return $this->common;
public function setCommon(bool $common): self
$this->common = $common;
public function getUnspecified(): bool
return $this->unspecified;
public function setUnspecified(bool $unspecified): self
$this->unspecified = $unspecified;