Client/Server.php
public function getResources()
    {
        $keys = $this->capabilities->keys();
        $definitions = [];

        foreach ($keys as $key) {
            $definitions[$key] = $this->capabilities->get($key);
        }

        return $definitions;
    }
public function getResources()
    {
        $keys = $this->capabilities->keys();
        $definitions = [];

        foreach ($keys as $key) {
            $definitions[$key] = $this->capabilities->get($key);
        }

        return $definitions;
    }
public function getResources ( ) { $ keys = $ this -> capabilities -> keys ( ) ; $ definitions = [ ] ; foreach ( $ keys as $ key ) { $ definitions [ $ key ] = $ this -> capabilities -> get ( $ key ) ; } return $ definitions ; }
Return the list of resource definitions exposed via the capabilities route

@return array
Return the list of resource definitions exposed via the capabilities route