Untitled

mail@pastecode.io avatar
unknown
php
a year ago
421 B
1
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;
    }
}
?>