src/Cms/SectionAwareTrait.php
private function createSection()
    {
        $this->section = $this->modelFactory()->create($this->sectionClass());

        return $this->section;
    }
private function createSection()
    {
        $this->section = $this->modelFactory()->create($this->sectionClass());

        return $this->section;
    }
private function createSection ( ) { $ this -> section = $ this -> modelFactory ( ) -> create ( $ this -> sectionClass ( ) ) ; return $ this -> section ; }
Create a new section object from the section model name.

@return SectionInterface
Create a new section object from the section model name .