Skip to content

Commit

Permalink
moves trait to Chevron\Containers
Browse files Browse the repository at this point in the history
  • Loading branch information
henderjon committed Jul 6, 2016
1 parent e0c0c57 commit bee5759
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Chevron\Kernel\Dispatcher\Traits;

trait InjectableMethodParamsInvocationTrait {
trait ReflectiveDiMethodParamsTrait {

/**
* @param DiInterface $di
Expand All @@ -19,6 +19,7 @@ protected function getReflectiveDiMethodParams( $di, \ReflectionMethod $ref, arr
}
return $arguments;
}

/**
* @param DiInterface $di
* @param string $className
Expand All @@ -34,6 +35,7 @@ protected function constructInstanceFromReflectiveDiMethodParams( $di, $classNam
}
return new $className;
}

/**
* @param DiInterface $di
* @param object $class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Chevron\Kernel\Dispatcher\Traits\DiAwareTrait;
use Chevron\Kernel\Dispatcher\Traits\RouteAwareTrait;
use Chevron\Kernel\Dispatcher\Traits\InjectableMethodParamsInvocationTrait;
use Chevron\Containers\Traits\ReflectiveDiMethodParamsTrait;
use Chevron\Kernel\Response\Traits\RedirectableControllerTrait;

abstract class AbstractDispatchableController implements Interfaces\DispatchableInterface {
Expand Down

0 comments on commit bee5759

Please sign in to comment.