[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/ -> namespacemap.php (summary)

Joomla! Content Management System

Copyright: (C) 2017 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 290 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 libraries/vendor/autoload.php

Defines 1 class

JNamespacePsr4Map:: (6 methods):
  exists()
  ensureMapFileExists()
  create()
  load()
  writeNamespaceFile()
  getNamespaces()


Class: JNamespacePsr4Map  - X-Ref

Class JNamespacePsr4Map

exists()   X-Ref
Check if the file exists

return: boolean

ensureMapFileExists()   X-Ref
Check if the namespace mapping file exists, if not create it

return: void

create()   X-Ref
Create the namespace file

return: boolean

load()   X-Ref
Load the PSR4 file

return: boolean

writeNamespaceFile($elements)   X-Ref
Write the Namespace mapping file

param: array  $elements  Array of elements
return: void

getNamespaces(string $type)   X-Ref
Get an array of namespaces with their respective path for the given extension type.

param: string  $type  The extension type
return: array



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer