<?php
class Employee
{
private $_name;
private $_age;
private $_job;
public function __construct($name, $age, $job)
{
$this->_name = $name;
$this->_age = $age;
$this->_job = $job;
}
public function getName()
{
return $this->_name;
}
public function getAge()
{
return $this->_age;
}
public function getJob()
{
return $this->_job;
}
}