AssetFile
Playwright\Symfony\Client\Interception\AssetFile
Value object representing a resolved asset file or inline asset content.
$ composer require playwright-php/playwright-symfony
Methods
__construct()
function __construct( ?string $path, ?int $lastModified, ?int $size, string $contentType, ?string $content = null, )
getPath()
?stringfunction getPath(): ?string
getLastModified()
?intfunction getLastModified(): ?int
getSize()
?intfunction getSize(): ?int
getContentType()
stringfunction getContentType(): string
hasInlineContent()
boolfunction hasInlineContent(): bool
getContent()
stringfunction getContent(): string