PHP Class ManaPHP\Alias

Inheritance: extends Component, implements manaphp\AliasInterface
Datei anzeigen Open project: manaphp/manaphp

Protected Properties

Property Type Description
$_aliases array

Public Methods

Method Description
__construct ( ) Alias constructor.
get ( string $name ) : boolean | string
has ( string $name ) : boolean
resolve ( string $path ) : string
set ( string $name, string $path ) : string

Method Details

__construct() public method

Alias constructor.
public __construct ( )

get() public method

public get ( string $name ) : boolean | string
$name string
return boolean | string

has() public method

public has ( string $name ) : boolean
$name string
return boolean

resolve() public method

public resolve ( string $path ) : string
$path string
return string

set() public method

public set ( string $name, string $path ) : string
$name string
$path string
return string

Property Details

$_aliases protected_oe property

protected array $_aliases
return array