feat : Composite file

This commit is contained in:
2025-09-07 19:36:04 +08:00
parent b106c4a352
commit 714baffaf7
10 changed files with 302 additions and 2 deletions

View File

@@ -0,0 +1,25 @@
<?php
namespace App\Interface\Test\Composite;
interface FileSystemComponentInterface
{
/**
* 获取名字
* @return string
*/
public function getName(): string;
/**
* 获取大小
* @return int
*/
public function getSize(): int;
/**
* 显示
* @param string $prefix
* @return void
*/
public function display(string $prefix = ''): void;
}