src/PeekAndPoke/Component/Formal/Accessor/PublicPropertyAccessor.php
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;
    }
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
@param string $key @param mixed $value @param mixed $subject