Ojs\JournalBundle\Entity\JournalTheme::setTitle PHP Method

setTitle() public method

public setTitle ( string $title )
$title string
    public function setTitle($title)
    {
        $this->title = $title;
        return $this;
    }

Usage Example

Example #1
0
 protected function insertTheme()
 {
     $em = $this->getContainer()->get('doctrine')->getManager();
     $theme = new JournalTheme();
     $theme->setTitle('Ojs');
     $em->persist($theme);
     $em->flush();
 }
All Usage Examples Of Ojs\JournalBundle\Entity\JournalTheme::setTitle