Newscoop\Services\AttachmentService::getAttachmentUrl PHP Метод

getAttachmentUrl() публичный Метод

public getAttachmentUrl ( $attachment )
    public function getAttachmentUrl($attachment)
    {
        return $this->router->generate('newscoop_newscoop_attachments_downloadattachment', array('id' => $attachment->getId(), 'name' => $attachment->getName()), true);
    }