Skip to content

Commit

Permalink
Camelize property retrieval by identifier
Browse files Browse the repository at this point in the history
Amends: a7d0a2e
  • Loading branch information
mcaskill committed Nov 5, 2019
1 parent 49c9f95 commit d78e8da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Charcoal/Model/AbstractMetadata.php
Expand Up @@ -98,6 +98,7 @@ public function properties()
*/
public function property($propertyIdent = null)
{
$propertyIdent = $this->camelize($propertyIdent);
if (isset($this->properties[$propertyIdent])) {
return $this->properties[$propertyIdent];
} else {
Expand Down

0 comments on commit d78e8da

Please sign in to comment.