PHP Class Phprest\Service\Hateoas\Config

Inheritance: implements Phprest\Service\Configurable
Afficher le fichier Open project: phprest/phprest Class Usage Examples

Méthodes publiques

Свойство Type Description
$cacheDir string
$debug boolean
$metadataDir string
$urlGenerator callable

Méthodes publiques

Méthode Description
__construct ( boolean $debug = false, string | null $cacheDir = null, string | null $metadataDir = null, callable | null $urlGenerator = null )
getServiceName ( ) : string

Méthodes protégées

Méthode Description
generateUrl ( string $route, array $parameters, boolean $absolute ) : string

Method Details

__construct() public méthode

public __construct ( boolean $debug = false, string | null $cacheDir = null, string | null $metadataDir = null, callable | null $urlGenerator = null )
$debug boolean
$cacheDir string | null
$metadataDir string | null
$urlGenerator callable | null

generateUrl() protected méthode

protected generateUrl ( string $route, array $parameters, boolean $absolute ) : string
$route string
$parameters array
$absolute boolean
Résultat string

getServiceName() public static méthode

public static getServiceName ( ) : string
Résultat string

Property Details

$cacheDir public_oe property

public string $cacheDir
Résultat string

$debug public_oe property

public bool $debug
Résultat boolean

$metadataDir public_oe property

public string $metadataDir
Résultat string

$urlGenerator public_oe property

public callable $urlGenerator
Résultat callable