Untitled

 avatar
unknown
php
2 years ago
421 B
3
Indexable
<?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;
    }
}
?>
Editor is loading...