i want to use arrow function calling in php oop i use this in PDO and i don't know how to do it by myself
<?php
class Test {
public function funcA(){
function funcB(){
reuturn "hello world";
}
}
}
// how i can use this form in PHP OOP
$class->funcA()->funcB();
?>```