public function __construct(Inflector $inflector = null) { $this->inflector = $inflector ?: new Inflector(); }