function milking(Feeding $feeding) { if (!$feeding->hasMilking()) { return ''; } return $feeding->getMilking() . ' mL'; }