common/services/resources/ModelCommentService.php
public function getByBaseId( $baseId, $config = [] ) {

		$modelClass	= self::$modelClass;

		return $modelClass::queryByBaseId( $baseId, $config )->all();
	}
public function getByBaseId( $baseId, $config = [] ) {

		$modelClass	= self::$modelClass;

		return $modelClass::queryByBaseId( $baseId, $config )->all();
	}
public function getByBaseId ( $ baseId , $ config = [ ] ) { $ modelClass = self :: $ modelClass ; return $ modelClass :: queryByBaseId ( $ baseId , $ config ) -> all ( ) ; }
It returns immediate child comments for given base id.
It returns immediate child comments for given base id .