src/Container.php
public function inflector(string $type, callable $callback = null) : InflectorInterface
    {
        return $this->inflectors->add($type, $callback);
    }
public function inflector(string $type, callable $callback = null) : InflectorInterface
    {
        return $this->inflectors->add($type, $callback);
    }
public function inflector ( string $ type , callable $ callback = null ) : InflectorInterface { return $ this -> inflectors -> add ( $ type , $ callback ) ; }
Allows for manipulation of specific types on resolution.

@param string        $type
@param callable|null $callback

@return \League\Container\Inflector\InflectorInterface
Allows for manipulation of specific types on resolution .