getProjectionFunction() 공개 메소드

public getProjectionFunction ( ) : ElementProjection | null
리턴 Pinq\Queries\Functions\ElementProjection | null
예제 #1
0
 protected function updateOptionalProjection(Requests\ProjectionRequestBase $projectionRequest)
 {
     if ($projectionRequest->hasProjectionFunction()) {
         return $this->expressionProcessor->processFunction($projectionRequest->getProjectionFunction());
     }
     return $projectionRequest;
 }
예제 #2
0
 protected function appendOptionalProjection($string, Requests\ProjectionRequestBase $request)
 {
     $this->compilation->append($string);
     if ($request->hasProjectionFunction()) {
         $this->compilation->append(' according to the function: ');
         $this->compilation->appendFunction($request->getProjectionFunction());
     }
 }
예제 #3
0
 private function getOptionalFunction(Requests\ProjectionRequestBase $request)
 {
     return $request->hasProjectionFunction() ? $this->resolvedParameters[$request->getProjectionFunction()->getCallableId()] : null;
 }