Since: 4.0.0

class JNamespacePsr4Map

Class JNamespacePsr4Map

Properties

protected string Since: 4.0.0
$file

Path to the autoloader

Methods

bool
exists()

Check if the file exists

void
ensureMapFileExists()

Check if the namespace mapping file exists, if not create it

bool
create()

Create the namespace file

bool
load()

Load the PSR4 file

void
writeNamespaceFile(array $elements)

Write the Namespace mapping file

Details

bool exists()

Since: 4.0.0

Check if the file exists

Return Value

bool

void ensureMapFileExists()

Since: 4.0.0

Check if the namespace mapping file exists, if not create it

Return Value

void

bool create()

Since: 4.0.0

Create the namespace file

Return Value

bool

bool load()

Since: 4.0.0

Load the PSR4 file

Return Value

bool

protected void writeNamespaceFile(array $elements)

Since: 4.0.0

Write the Namespace mapping file

Parameters

array $elements

Array of elements

Return Value

void