public function save(LogInterface $log, $andFlush = true)
    {
        if(!$log instanceof $this->class)
        {
            throw new InvalidArgumentException('1st argument must be an instanceof '.$this->getClass());
        }

        $extra = $log->getExtra();
        if(is_array($extra) && isset($extra['job_ticket']))
        {
            /** @var \Abc\Bundle\JobBundle\Entity\Log $log */
            $log->setJobTicket($extra['job_ticket']);

            unset($extra['job_ticket']);

            $log->setExtra($extra);
        }

        parent::save($log, $andFlush);
    }
public function save(LogInterface $log, $andFlush = true)
    {
        if(!$log instanceof $this->class)
        {
            throw new InvalidArgumentException('1st argument must be an instanceof '.$this->getClass());
        }

        $extra = $log->getExtra();
        if(is_array($extra) && isset($extra['job_ticket']))
        {
            /** @var \Abc\Bundle\JobBundle\Entity\Log $log */
            $log->setJobTicket($extra['job_ticket']);

            unset($extra['job_ticket']);

            $log->setExtra($extra);
        }

        parent::save($log, $andFlush);
    }
{@inheritdoc}