Page
in package
Table of Contents
Properties
- $destinationPathname : string
- 出力先ファイルのパス
- $url : string
- ページのURL
- $userAgent : string|null
- ユーザーエージェント
- $withSession : bool
- セッションを含むかどうか
Methods
- __construct() : mixed
- getDestinationPathname() : string
- 出力先ファイルのファイル名を含むパスを取得
- getUrl() : string
- ページのURLを取得
- getUserAgent() : string|null
- ユーザーエージェントを取得
- isWithSession() : bool
- セッションを含むかどうかを取得
Properties
$destinationPathname
出力先ファイルのパス
private
string
$destinationPathname
$url
ページのURL
private
string
$url
$userAgent
ユーザーエージェント
private
string|null
$userAgent
$withSession
セッションを含むかどうか
private
bool
$withSession
Methods
__construct()
public
__construct(string $url, string $destinationPathname[, string|null $userAgent = null ][, bool $withSession = false ]) : mixed
Parameters
- $url : string
- $destinationPathname : string
- $userAgent : string|null = null
- $withSession : bool = false
getDestinationPathname()
出力先ファイルのファイル名を含むパスを取得
public
getDestinationPathname() : string
Return values
stringgetUrl()
ページのURLを取得
public
getUrl() : string
Return values
stringgetUserAgent()
ユーザーエージェントを取得
public
getUserAgent() : string|null
Return values
string|nullisWithSession()
セッションを含むかどうかを取得
public
isWithSession() : bool