public function set($key, $value, $subject)
    {
        $property = $this->getPublicProperty($key, new \ReflectionClass($subject));

        $property->setValue($subject, $value);

        return $subject;
    }
public function set($key, $value, $subject)
    {
        $property = $this->getPublicProperty($key, new \ReflectionClass($subject));

        $property->setValue($subject, $value);

        return $subject;
    }
@param string $key
@param mixed  $value
@param mixed  $subject

@return mixed