classes/BearCMS/Internal/Data2/CommentsThreads.php
public function get(string $id): ?\BearCMS\Internal\Data2\CommentsThread
    {
        $data = Internal\Data::getValue('bearcms/comments/thread/' . md5($id) . '.json');
        if ($data !== null) {
            return $this->makeCommentsThreadPostFromRawData($data);
        }
        return null;
    }
public function get(string $id): ?\BearCMS\Internal\Data2\CommentsThread
    {
        $data = Internal\Data::getValue('bearcms/comments/thread/' . md5($id) . '.json');
        if ($data !== null) {
            return $this->makeCommentsThreadPostFromRawData($data);
        }
        return null;
    }
public function get ( string $ id ) : ? \ BearCMS \ Internal \ Data2 \ CommentsThread { $ data = Internal \ Data :: getValue ( 'bearcms/comments/thread/' . md5 ( $ id ) . '.json' ) ; if ( $ data !== null ) { return $ this -> makeCommentsThreadPostFromRawData ( $ data ) ; } return null ; }
Retrieves information about the comments thread specified

@param string $id The comments thread ID
@return \IvoPetkov\DataObject|null The comments thread data or null if the thread not found
@throws \InvalidArgumentException
Retrieves information about the comments thread specified