X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=vendor%2Fsymfony%2Fdependency-injection%2FLoader%2FConfigurator%2FTraits%2FPropertyTrait.php;fp=vendor%2Fsymfony%2Fdependency-injection%2FLoader%2FConfigurator%2FTraits%2FPropertyTrait.php;h=d5d938708e0a85a696c2fdbe9a2b5d828dcb5a76;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hp=0000000000000000000000000000000000000000;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0;p=yaffs-website diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/PropertyTrait.php b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/PropertyTrait.php new file mode 100644 index 000000000..d5d938708 --- /dev/null +++ b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/PropertyTrait.php @@ -0,0 +1,30 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\DependencyInjection\Loader\Configurator\Traits; + +trait PropertyTrait +{ + /** + * Sets a specific property. + * + * @param string $name + * @param mixed $value + * + * @return $this + */ + final public function property($name, $value) + { + $this->definition->setProperty($name, static::processValue($value, true)); + + return $this; + } +}