public function parse($class, array $meta = [])
    {
        $methods = get_class_methods($class);
        foreach($methods as $method) {
            $query = Annotation::ofMethod($class, $method, 'uri');
            if($query) {
                $this->add($query, [$class, $method], $meta);
            }
        }

        return $this;
    }
public function parse($class, array $meta = [])
    {
        $methods = get_class_methods($class);
        foreach($methods as $method) {
            $query = Annotation::ofMethod($class, $method, 'uri');
            if($query) {
                $this->add($query, [$class, $method], $meta);
            }
        }

        return $this;
    }
public function parse ( $ class , array $ meta = [ ] ) { $ methods = get_class_methods ( $ class ) ; foreach ( $ methods as $ method ) { $ query = Annotation :: ofMethod ( $ class , $ method , 'uri' ) ; if ( $ query ) { $ this -> add ( $ query , [ $ class , $ method ] , $ meta ) ; } } return $ this ; }
Parse class methods annotation and add route

@param string $class
@param array $meta
@return $this
Parse class methods annotation and add route