class file_info

Properties

protected adapter_interface $adapter
protected string $path

Path of the file

protected array $properties

Stores the properties of $path file, so dont have to be consulted multiple times.

Methods

__construct(adapter_interface $adapter, string $path)

Constructor

string
get(string $name)

Load propertys lazily

__get($name)

Alias of \phpbb\storage\file_info->get()

Details

at line 49
__construct(adapter_interface $adapter, string $path)

Constructor

Parameters

adapter_interface $adapter
string $path

at line 63
string get(string $name)

Load propertys lazily

Parameters

string $name

The property name.

Return Value

string

Returns the property value

at line 81
__get($name)

Alias of \phpbb\storage\file_info->get()

Parameters

$name