Action.php
479 字节
<?php
namespace Illuminate\Notifications;
class Action
{
/**
* The action text.
*
* @var string
*/
public $text;
/**
* The action URL.
*
* @var string
*/
public $url;
/**
* Create a new action instance.
*
* @param string $text
* @param string $url
* @return void
*/
public function __construct($text, $url)
{
$this->url = $url;
$this->text = $text;
}
}