Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge pull request #14 from mesaugat/patch-1
Browse files Browse the repository at this point in the history
Add UpperCaseWords to default set of filters.
  • Loading branch information
weierophinney committed Feb 4, 2016
2 parents b7d2a91 + b1a73b6 commit 513ce97
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/FilterPluginManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@ class FilterPluginManager extends AbstractPluginManager
'tonull' => ToNull::class,
'toNull' => ToNull::class,
'ToNull' => ToNull::class,
'uppercasewords' => UpperCaseWords::class,
'upperCaseWords' => UpperCaseWords::class,
'UpperCaseWords' => UpperCaseWords::class,
'urinormalize' => UriNormalize::class,
'uriNormalize' => UriNormalize::class,
'UriNormalize' => UriNormalize::class,
Expand Down Expand Up @@ -193,10 +196,6 @@ class FilterPluginManager extends AbstractPluginManager
* @var array
*/
protected $factories = [
// For the future
ToInt::class => InvokableFactory::class,
ToNull::class => InvokableFactory::class,

// I18n filters
Alnum::class => InvokableFactory::class,
Alpha::class => InvokableFactory::class,
Expand Down Expand Up @@ -229,6 +228,7 @@ class FilterPluginManager extends AbstractPluginManager
ToInt::class => InvokableFactory::class,
MonthSelect::class => InvokableFactory::class,
ToNull::class => InvokableFactory::class,
UpperCaseWords::class => InvokableFactory::class,
PregReplace::class => InvokableFactory::class,
RealPath::class => InvokableFactory::class,
StringToLower::class => InvokableFactory::class,
Expand Down Expand Up @@ -292,6 +292,7 @@ class FilterPluginManager extends AbstractPluginManager
'zendfilterstringtrim' => InvokableFactory::class,
'zendfilterstripnewlines' => InvokableFactory::class,
'zendfilterstriptags' => InvokableFactory::class,
'zendfilteruppercasewords' => InvokableFactory::class,
'zendfilterurinormalize' => InvokableFactory::class,
'zendfilterwhitelist' => InvokableFactory::class,
'zendfilterwordcamelcasetodash' => InvokableFactory::class,
Expand Down

0 comments on commit 513ce97

Please sign in to comment.