/
githubmirror
/
symfony
Обзор
Документация
Войти
/
githubmirror
/
symfony
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.2
src/Symfony/Component/AssetMapper/Path/PublicAssetsFilesystemInterface.php
33 строки
802 B
Ryan Weaver
[AssetMapper] Allowing for files to be written to some non-local location
20 окт 2023, 19:05
20 окт 2023, 19:05
48a2d68
Код
Авторство
О чём код?
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\AssetMapper\Path; /** * Writes asset files to their public location. */ interface PublicAssetsFilesystemInterface { /** * Write the contents of a file to the public location. */ public function write(string $path, string $contents): void; /** * Copy a local file to the public location. */ public function copy(string $originPath, string $path): void; /** * A string representation of the public directory, used for feedback. */ public function getDestinationPath(): string; }