I have the following PHP code file:
<?php
class ObjectTest extends AppTest
{
public function getList()
{
return [
'1234',
'5678',
];
}
}
Now I like to use nikic/PHP-Parser to get the return value of the getList function
How do I do that?
The following would do it:
Demo