mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
20 lines
392 B
PHP
20 lines
392 B
PHP
<?php
|
|
|
|
namespace Alchemy\Phrasea\Notification\Mail;
|
|
|
|
abstract class AbstractMailWithLink extends AbstractMail implements MailWithLinkInterface
|
|
{
|
|
protected $url;
|
|
protected $expiration;
|
|
|
|
public function setButtonUrl($url)
|
|
{
|
|
$this->url = $url;
|
|
}
|
|
|
|
public function setExpiration(\DateTime $expiration = null)
|
|
{
|
|
$this->expiration = $expiration;
|
|
}
|
|
}
|