# File

Chevere\Components\Filesystem\File

view source (opens new window)

# Implements

# Constants

# CHECKSUM_ALGO

Type string

'sha256'

# CHECKSUM_LENGTH

Type integer

64

# Methods

# __construct

Parameters


# path


# isPhp

Return

bool


# exists

Return

bool


# assertExists

Return

void


# getChecksum

Return

string


# getSize

Return

int


# contents

Return

string


# remove

Return

void


# removeIfExists

Return

void


# create

Return

void


# put

Parameters

  • contents: string

Return

void


Last Updated: 5/1/2021, 2:31:10 PM