public function query(array $arguments = [])
    {
        $options = array_merge([
            'hierarchical' => 'threaded',
        ], $arguments);

        return $this->plugger
            ->setModel($this)
            ->setAdapter(Comment::class)
            ->plugIn(get_comments($options))
            ->getConnected();
    }
public function query(array $arguments = [])
    {
        $options = array_merge([
            'hierarchical' => 'threaded',
        ], $arguments);

        return $this->plugger
            ->setModel($this)
            ->setAdapter(Comment::class)
            ->plugIn(get_comments($options))
            ->getConnected();
    }
public function query ( array $ arguments = [ ] ) { $ options = array_merge ( [ 'hierarchical' => 'threaded' , ] , $ arguments ) ; return $ this -> plugger -> setModel ( $ this ) -> setAdapter ( Comment :: class ) -> plugIn ( get_comments ( $ options ) ) -> getConnected ( ) ; }
Query comments.

@param array $arguments

@return \Illuminate\Support\Collection
Query comments .