Why do we need to pass in the second parameter $data? Can't we just use $this->data['name'] directly in the getHireDateAttr() method?
Imagine Breaker2018-09-06 19:49:49
The second parameter when calling this function is $data, otherwise how to get the name value