create file
public create ( string $content, string $path, string $name, string | null $disk = null, string | null $originId = null, Xpressengine\User\UserInterface $user = null ) : |
||
$content | string | file content |
$path | string | directory for saved |
$name | string | saved name |
$disk | string | null | disk for saved |
$originId | string | null | original file id |
$user | Xpressengine\User\UserInterface | user instance |
Результат |