tflori/dependency-injector

View on GitHub
src/Factory/StringArgument.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
<?php

namespace DependencyInjector\Factory;

class StringArgument
{
    /** @var string */
    protected $string;

    /**
     * StringArgument constructor.
     *
     * @param string $string
     */
    public function __construct(string $string)
    {
        $this->string = $string;
    }

    public function getString()
    {
        return $this->string;
    }
}