Newscoop\Tools\Console\Command\SubscriptionsNotifierCommand::getReplyAddress PHP Method

getReplyAddress() private method

Reads reply address
private getReplyAddress ( ) : string
return string
    private function getReplyAddress()
    {
        $adminUser = $this->em->getRepository('Newscoop\\Entity\\User')->findOneByUsername('admin');
        if (!$adminUser) {
            return false;
        }
        return $adminUser->getEmail();
    }