class ContextAccessors extends AbstractAccessors

Provides size object for {see StorageObjectInterface}.

Methods

__construct( StorageObjectProviderInterface $provider)

Construct using object provider instance.

string
__toString()

Returns object type string.

bool
isFile()

Returns whether object type is a file.

bool
isDirectory()

Returns whether object type is a directory.

bool
isLink()

Returns whether object type is a link.

bool
isExecutable()

Returns whether object type is a executable.

bool
isLocal()

Returns whether object is locally stored.

Details

in AbstractAccessors at line line 31
final __construct( StorageObjectProviderInterface $provider)

Construct using object provider instance.

Parameters

StorageObjectProviderInterface $provider

at line line 24
string __toString()

Returns object type string.

Return Value

string

at line line 34
final bool isFile()

Returns whether object type is a file.

Return Value

bool

at line line 44
final bool isDirectory()

Returns whether object type is a directory.

Return Value

bool

Returns whether object type is a link.

Return Value

bool

at line line 64
final bool isExecutable()

Returns whether object type is a executable.

Return Value

bool

at line line 74
final bool isLocal()

Returns whether object is locally stored.

Return Value

bool