Skip to content

Commit

Permalink
added use trait statement in abstract factory
Browse files Browse the repository at this point in the history
  • Loading branch information
mkherlakian authored and weierophinney committed Jan 14, 2020
1 parent 18175fc commit c003262
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ConfigAbstractFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

class ConfigAbstractFactory implements AbstractFactoryInterface
{
use GetRequestedConfigTrait;

public function canCreate(ContainerInterface $container, $requestedName) : bool
{
return (bool) preg_match('/^config-/i', $requestedName);
Expand Down

0 comments on commit c003262

Please sign in to comment.