"Fossies" - the Fresh Open Source Software Archive

Member "framework-8.65.0/src/Illuminate/Notifications/Action.php" (19 Oct 2021, 479 Bytes) of package /linux/www/laravel-framework-8.65.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) PHP source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "Action.php" see the Fossies "Dox" file reference documentation.

    1 <?php
    2 
    3 namespace Illuminate\Notifications;
    4 
    5 class Action
    6 {
    7     /**
    8      * The action text.
    9      *
   10      * @var string
   11      */
   12     public $text;
   13 
   14     /**
   15      * The action URL.
   16      *
   17      * @var string
   18      */
   19     public $url;
   20 
   21     /**
   22      * Create a new action instance.
   23      *
   24      * @param  string  $text
   25      * @param  string  $url
   26      * @return void
   27      */
   28     public function __construct($text, $url)
   29     {
   30         $this->url = $url;
   31         $this->text = $text;
   32     }
   33 }