Get a questionnaire.

@param  int  $id
@return \Illuminate\Support\Collection
540764
public function show($id)
    {
        $questionnaire = $this->client->get(
            sprintf('buckets/%d/questionnaires/%d.json', $this->bucket, $id)
        );

        return new Questionnaire($this->response($questionnaire));
    }
772210
public function getById($id)
    {
        $model = $this
            ->prepareQuery()
            ->where($this->model->getTable() . '.id', $id)
            ->first();

        if (empty($model))
            return null;

        $model = $this->addPermissionsForModel($model);

        return $this->formatModel($model);
    }
553790
public function get($id) {
		$e = $this->getEntity();
		
		if (! $e)
			return $this->createResponse($this->getNameManager()->getTableNames(), 401, "Tables");
		
		if (! $e->get($id))
			return $this->createResponse($id, 401, "{$this->getNameManager()->entityName} not found");
		
		return $this->createResponse($e->getArrayCopy(), 0, $this->getNameManager()->entityName);
	}
1296140
public function get($id)
    {
        $request = new Request('customizations');
        $request->setIdParam(urlencode($id));

        $response = $this->client->get($request);

        $this->assertSuccessResponse($response);

        return $response->getData();
    }
43655
public function get( $id ) {
		if ( isset( $this->types[ $id ] ) ) {
			return $this->types[ $id ];
		}

		return null;
	}
401657
public function getItem($id)
	{
		$result = null;

		if (isset($this->_items[$id]))
		{
			$result =& $this->_items[$id];
		}

		return $result;
	}
1045469
public function get($id) {
		if (!$this->schemes->has($id)) {
			$this->schemes->set($id, new SecurityScheme($id));
		}
		return $this->schemes->get($id);
	}
887735
public function getQuestion($id)
    {
        /** @var TemplateInterface $template */
        foreach ($this->data as $template) {
            if ($template->getQuestion()->getId() == $id) {
                return $template;
            }
        }

        throw new NotFoundHttpException(sprintf('Id question %s not found', $id));
    }
693593
public function get($id) {
		$event  = $this->getProfiler()->startRead('Get: ' . $id);
		$result = $this->getBackend()->get($id);
		
		if ($result === null) {
			$event->stopNotice();
		} else {
			$event->stopSuccess();
		}
		
		return $result;
	}
432182
public function actionQuestion($id)
    {
        $user = $this->findModel($id);
        $query = Question::find()->where(['user_id' => $id])->orderBy(['created_at' => SORT_DESC]);
        $dataProvider = new ActiveDataProvider([
            'query' => $query,
        ]);
        return $this->render('question', [
            'user' => $user,
            'dataProvider' => $dataProvider
        ]);
    }
1269705
public function get($id)
	{
		$this->getResponse()
			->setStatusCode(Response::STATUS_CODE_200);
		
		$classifiedService = $this->getServiceLocator()->get('document.service.classified');
		
		try {
			$data = $classifiedService->get($id);
		} catch(\Exception $e) {
			$this->getResponse()
				->setStatusCode(Response::STATUS_CODE_500);
			$data = new \StdClass();
		}
		
		return new JsonModel(array(
			'data' => $data
		));
	}
310123
public function get($id = null){
        if(!is_null($id)){
            return $this->find($id);
        }
        return $this->model->get();
    }
796029
public static function get($id){
		if( isset(self::$instances[$id]) ){
			return self::$instances[$id];
		}
		return null;
	}
713557
public function get($id)
    {
        $entry = $this->getEntry($id);
        return $this->isMiss($entry) ? null : $this->getPayload($id, $entry);
    }
856973
public function get($id)
    {
        return $this->getByPath(sprintf('/%s/%s/%s', MoipResource::VERSION, self::PATH, $id));
    }
364230
public function getDocument($id)
    {
        $body = $this->request([
            'url' => '/data/doc/' . $this->clientConfig['dataset'] . '/' . $id,
            'cdnAllowed' => true
        ]);
        return $body['documents'][0];
    }
171686
private function getService($id)
    {
        if (null !== $this->container && $this->container->has($id)) {
            return $this->container->get($id);
        }

        return null;
    }