PHP Class Equip\Directory

Inheritance: extends Equip\Structure\Dictionary
Afficher le fichier Open project: equip/framework Class Usage Examples

Méthodes publiques

Méthode Description
action ( string $method, string $path, string | Action $domainOrAction ) : static
any ( string $path, string | Action $domainOrAction ) : static
delete ( string $path, string | Action $domainOrAction ) : static
get ( string $path, string | Action $domainOrAction ) : static
head ( string $path, string | Action $domainOrAction ) : static
options ( string $path, string | Action $domainOrAction ) : static
patch ( string $path, string | Action $domainOrAction ) : static
post ( string $path, string | Action $domainOrAction ) : static
prefix ( string $path ) : string Add the prefix to a path.
put ( string $path, string | Action $domainOrAction ) : static
withPrefix ( string $prefix ) : static Set the directory path prefix.
withoutPrefix ( ) : static Remove the directory path prefix.

Méthodes protégées

Méthode Description
assertValid ( array $data )

Method Details

action() public méthode

public action ( string $method, string $path, string | Action $domainOrAction ) : static
$method string
$path string
$domainOrAction string | Action
Résultat static

any() public méthode

public any ( string $path, string | Action $domainOrAction ) : static
$path string
$domainOrAction string | Action
Résultat static

assertValid() protected méthode

protected assertValid ( array $data )
$data array

delete() public méthode

public delete ( string $path, string | Action $domainOrAction ) : static
$path string
$domainOrAction string | Action
Résultat static

get() public méthode

public get ( string $path, string | Action $domainOrAction ) : static
$path string
$domainOrAction string | Action
Résultat static

head() public méthode

public head ( string $path, string | Action $domainOrAction ) : static
$path string
$domainOrAction string | Action
Résultat static

options() public méthode

public options ( string $path, string | Action $domainOrAction ) : static
$path string
$domainOrAction string | Action
Résultat static

patch() public méthode

public patch ( string $path, string | Action $domainOrAction ) : static
$path string
$domainOrAction string | Action
Résultat static

post() public méthode

public post ( string $path, string | Action $domainOrAction ) : static
$path string
$domainOrAction string | Action
Résultat static

prefix() public méthode

Add the prefix to a path.
public prefix ( string $path ) : string
$path string
Résultat string

put() public méthode

public put ( string $path, string | Action $domainOrAction ) : static
$path string
$domainOrAction string | Action
Résultat static

withPrefix() public méthode

Set the directory path prefix.
public withPrefix ( string $prefix ) : static
$prefix string
Résultat static

withoutPrefix() public méthode

Remove the directory path prefix.
public withoutPrefix ( ) : static
Résultat static