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()

?string
function getPath(): ?string

getLastModified()

?int
function getLastModified(): ?int

getSize()

?int
function getSize(): ?int

getContentType()

string
function getContentType(): string

hasInlineContent()

bool
function hasInlineContent(): bool

getContent()

string
function getContent(): string