lib/Core/StructBuilder/LayoutStructBuilder.php
public function newLayoutCreateStruct(LayoutTypeInterface $layoutType, string $name, string $mainLocale): LayoutCreateStruct
    {
        $struct = new LayoutCreateStruct();
        $struct->layoutType = $layoutType;
        $struct->name = $name;
        $struct->mainLocale = $mainLocale;

        return $struct;
    }
public function newLayoutCreateStruct(LayoutTypeInterface $layoutType, string $name, string $mainLocale): LayoutCreateStruct
    {
        $struct = new LayoutCreateStruct();
        $struct->layoutType = $layoutType;
        $struct->name = $name;
        $struct->mainLocale = $mainLocale;

        return $struct;
    }
public function newLayoutCreateStruct ( LayoutTypeInterface $ layoutType , string $ name , string $ mainLocale ) : LayoutCreateStruct { $ struct = new LayoutCreateStruct ( ) ; $ struct -> layoutType = $ layoutType ; $ struct -> name = $ name ; $ struct -> mainLocale = $ mainLocale ; return $ struct ; }
Creates a new layout create struct from the provided values.
Creates a new layout create struct from the provided values .