code: public function set($key, $value, $subject)
      {
          $property = $this->getPublicProperty($key, new \ReflectionClass($subject));
  
          $property->setValue($subject, $value);
  
          return $subject;
      }
docs: @param string $key
  @param mixed  $value
  @param mixed  $subject
  
  @return mixed