Worker.php funcional