Symfony\Bundle\SwiftmailerBundle\DataCollector\MessageDataCollector::getMailerData PHP Method

getMailerData() public method

Returns the data collected of a mailer.
public getMailerData ( $name ) : array
return array The data of the mailer.
    public function getMailerData($name)
    {
        if (!isset($this->data['mailer'][$name])) {
            throw new \LogicException(sprintf('Missing "%s" data in "%s".', $name, get_class($this)));
        }
        return $this->data['mailer'][$name];
    }