Ojs\ApiBundle\Handler\JournalHandler::delete PHP 메소드

delete() 공개 메소드

Delete a Journal.
public delete ( Journal $entity ) : Journal
$entity Ojs\JournalBundle\Entity\Journal
리턴 Ojs\JournalBundle\Entity\Journal
    public function delete(Journal $entity)
    {
        $this->om->remove($entity);
        $this->om->flush();
        return $this;
    }