Map
in package
implements
Constants
名前空間のnamespace prefixとbase directoryのマッピング情報を保持するクラスです
Table of Contents
Interfaces
- Constants
- 定数を提供するインターフェースです
Properties
- $baseDirectory : string
- $namespacePrefix : string
Methods
- __construct() : mixed
- matchBaseDirectory() : bool
- matchNamespacePrefix() : bool
Properties
$baseDirectory read-only
public
string
$baseDirectory
名前空間のprefixに対応するbase directory
$namespacePrefix read-only
public
string
$namespacePrefix
名前空間のprefix
Methods
__construct()
public
__construct(string $namespacePrefix, string $baseDirectory) : mixed
Parameters
- $namespacePrefix : string
- $baseDirectory : string
matchBaseDirectory()
public
matchBaseDirectory(string $path) : bool
Parameters
- $path : string
Return values
boolmatchNamespacePrefix()
public
matchNamespacePrefix(string $namespace) : bool
Parameters
- $namespace : string