Ojs\JournalBundle\Entity\Journal::addSection PHP Method

addSection() public method

public addSection ( Ojs\JournalBundle\Entity\Section $section ) : Journal
$section Ojs\JournalBundle\Entity\Section
return Journal
    public function addSection(Section $section)
    {
        if (!$this->sections->contains($section)) {
            $this->sections->add($section);
            $section->setJournal($this);
        }
        return $this;
    }
Journal