public function getValue()
    {
        $val = $this->base['value'];

        if (is_array($val)) {
            $posts = array();

            foreach ($val as $p) {
                $posts[] = $this->postFactory->create($this->getPostObject($p));
            }

            return $posts;
        } elseif (strlen($val)) {
            return $this->postFactory->create($this->getPostObject($val));
        } else {
            if (isset($this->base['multiple']) && $this->base['multiple']) {
                return array();
            } else {
                return null;
            }
        }
    }