I want to get the names of stdClass Object.

```
"Array
(
    [0] => stdClass Object
        (
            [id] => 179111965447818
            [name] => foot ball
        )

    [1] => stdClass Object
        (
            [id] => 103992339636529
            [name] => Cricket
        )

)

```

> 
> Wishes out put:
> 
> 
> array("foot ball","Cricket")
> 
> 
>