Untitled

mail@pastecode.io avatarunknown
php
a month ago
421 B
0
Indexable
Never
<?php 

namespace App\Message;

class WriteToFileMessage
{
    private $text = [];
    private $count;

    public function __construct( String $text, int $count)
    {
        $this->text = $text;
        $this->count = $count;
    }

    public function getCount(): int
    {
        return $this->count;
    }

    public function getText(): String
    {
        return $this->text;
    }
}
?>