src/Discovery/Repository/ConfigRepository.php
protected function toModel(stdClass $object)
    {
        $class = $this->getClassName();
        $model = new $class;
        $model
            ->setKey($object->Key)
            ->setValue(base64_decode($object->Value));

        return $model;
    }
protected function toModel(stdClass $object)
    {
        $class = $this->getClassName();
        $model = new $class;
        $model
            ->setKey($object->Key)
            ->setValue(base64_decode($object->Value));

        return $model;
    }
protected function toModel ( stdClass $ object ) { $ class = $ this -> getClassName ( ) ; $ model = new $ class ; $ model -> setKey ( $ object -> Key ) -> setValue ( base64_decode ( $ object -> Value ) ) ; return $ model ; }
Type cast object to model

@param \stdClass $object
@return \Ds\Component\Discovery\Model\Config
Type cast object to model