Access php object value
I have this object i am able to access the name by $object->name but not
able to get the starline and endline. I try $object->starline it return
null.
PHPParser_Node_Expr_Variable Object ( [subNodes:protected] => Array (
[name] => var ) [attributes:protected] => Array ( [startLine] => 2
[endLine] => 2 ) )
No comments:
Post a Comment