mirror of
https://github.com/anikeen-com/yaac.git
synced 2026-03-13 21:56:10 +00:00
41 lines
579 B
PHP
41 lines
579 B
PHP
<?php
|
|
|
|
namespace Afosto\Acme\Data;
|
|
|
|
class File
|
|
{
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
protected $filename;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
protected $contents;
|
|
|
|
|
|
public function __construct(string $filename, string $contents)
|
|
{
|
|
$this->contents = $contents;
|
|
$this->filename = $filename;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getFilename(): string
|
|
{
|
|
return $this->filename;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getContents(): string
|
|
{
|
|
return $this->contents;
|
|
}
|
|
}
|