저자: Elliot Levin (elliotlevin@hotmail.com)
상속: extends Request
예제 #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
파일: Implode.php 프로젝트: timetoogo/pinq
 public function getParameters()
 {
     return array_merge([$this->delimiterId], parent::getParameters());
 }
예제 #4
0
 private function getOptionalFunction(Requests\ProjectionRequestBase $request)
 {
     return $request->hasProjectionFunction() ? $this->resolvedParameters[$request->getProjectionFunction()->getCallableId()] : null;
 }
예제 #5
0
 public final function __construct(Functions\ElementProjection $projectionFunction = null)
 {
     parent::__construct($projectionFunction);
 }