Class UnderscoreNamingStrategy

Summary

Fully Qualified Name: Zend\Hydrator\NamingStrategy\UnderscoreNamingStrategy
Implements: NamingStrategyInterface

Description

Methods

Name Description Defined By
extract() Remove capitalized letters and prepend underscores. UnderscoreNamingStrategy
hydrate() Remove underscores and capitalize letters UnderscoreNamingStrategy

Method Details

extract()

Remove capitalized letters and prepend underscores.

Parameter Name Type Description
$name string

Returns: string

hydrate()

Remove underscores and capitalize letters

Parameter Name Type Description
$name string

Returns: string

Top