protected function get_child_brick($brick_class_name, $name, $is_layout = false, $is_sub_field = false)
{
$brick_class_name = 'fewbricks\\bricks\\' . $brick_class_name;
// If we have not forced either sub field or layout
if (!$is_layout && !$is_sub_field) {
$is_layout = $this->is_layout;
$is_sub_field = $this->is_sub_field;
$name = $this->name . '_' . $name;
}
/** @noinspection PhpUndefinedMethodInspection */
return (new $brick_class_name($name))->set_is_layout($is_layout)->set_is_sub_field($is_sub_field)->set_is_option($this->is_option);
}