hoursWorked * $this->pricePerHour; } public function getHoursWorked() { return $this->hoursWorked; } public function setHoursWorked($hoursWorked) { $this->hoursWorked = $hoursWorked; } public function getPricePerHour() { return $this->pricePerHour; } public function setPricePerHour($pricePerHour) { $this->pricePerHour = $pricePerHour; } public function getManagers() { return $this->managers; } public function addManager(CompanyManager $manager) { $this->managers[] = $manager; } public function removeManager(CompanyManager $manager) { $this->managers->removeElement($manager); } static public function loadMetadata(\Doctrine\ORM\Mapping\ClassMetadataInfo $metadata) { $metadata->mapField(array( 'type' => 'integer', 'name' => 'hoursWorked', 'fieldName' => 'hoursWorked', )); $metadata->mapField(array( 'type' => 'integer', 'name' => 'pricePerHour', 'fieldName' => 'pricePerHour', )); } }