public function canAccessForWrite($key, $subject)
    {
        if (! is_object($subject)) {
            return false;
        }

        $reflect = new \ReflectionClass($subject);

        return $this->getWriteMethod($key, $reflect) !== null;
    }
public function canAccessForWrite($key, $subject)
    {
        if (! is_object($subject)) {
            return false;
        }

        $reflect = new \ReflectionClass($subject);

        return $this->getWriteMethod($key, $reflect) !== null;
    }
@param string $key
@param mixed  $subject

@return boolean