WellCommerce\Bundle\PageBundle\Entity\Page::setSection PHP Method

setSection() public method

public setSection ( string $section )
$section string
    public function setSection(string $section)
    {
        $this->section = $section;
    }

Usage Example

Example #1
0
 public function create() : PageInterface
 {
     $page = new Page();
     $page->setHierarchy(0);
     $page->setCreatedAt(new \DateTime());
     $page->setClientGroups($this->createEmptyCollection());
     $page->setShops($this->createEmptyCollection());
     $page->setParent(null);
     $page->setPublish(true);
     $page->setRedirectType(1);
     $page->setSection('');
     return $page;
 }
All Usage Examples Of WellCommerce\Bundle\PageBundle\Entity\Page::setSection