Files
contabilidad/api/common/Concept/File.php

17 lines
450 B
PHP
Raw Normal View History

2022-08-05 21:28:59 -04:00
<?php
namespace Common\Concept;
interface File
{
public function setFilename(string $filename): File;
public function getFilename(): string;
public function isDir(): bool;
public function isReadable(): bool;
public function isWriteable(): bool;
public function read(?int $length = null): string;
public function write(string $data, ?int $length = null);
public function append(string $data, ?int $length = null);
}