public function findRootOf( $id )
    {
        return $this->findOne( array(
            'id' => $this->sql()
                         ->select()
                         ->columns( array( 'rootId' ) )
                         ->where( array(
                             'id' => $id,
                         ) ),
        ) );
    }
public function findRootOf( $id )
    {
        return $this->findOne( array(
            'id' => $this->sql()
                         ->select()
                         ->columns( array( 'rootId' ) )
                         ->where( array(
                             'id' => $id,
                         ) ),
        ) );
    }
public function findRootOf ( $ id ) { return $ this -> findOne ( array ( 'id' => $ this -> sql ( ) -> select ( ) -> columns ( array ( 'rootId' ) ) -> where ( array ( 'id' => $ id , ) ) , ) ) ; }
Find root paragraph of paragraph by id

@param int $id
@return \Paragraph\Model\Paragraph\StructureInterface
Find root paragraph of paragraph by id