Pinq\Queries\Functions\ProjectionBase::initialize PHP Method

initialize() protected method

protected initialize ( )
    protected function initialize()
    {
        if (!$this->isInternal()) {
            foreach ($this->bodyExpressions as $statement) {
                if ($statement instanceof O\ReturnExpression) {
                    $this->returnExpression = $statement;
                    $this->returnValueExpression = $statement->getValue();
                    break;
                }
            }
        }
    }