@param string $first

@return $this
486690
public function setFirst($first)
    {
        $this->_links[self::FIRST][self::HREF] = $first;
        $this->removeEmptyLinks();

        return $this;
    }
1052631
final public static function first($xs, $n = null, $guard = null)
    {
        if ($n !== null && $guard === null) {
            return static::firstN($xs, $n);
        } else {
            return static::firstOrElse($xs, null);
        }
    }
1311068
public function first($selector=null)
    {
        $result = $this[0];
        if ($selector) {
            $result = $result->filter($selector);
        }
        return $result;
    }
799531
public function on($first, $second)
    {
        return $this->raw(
            $this->builder->adapter()->quote($first) 
            . ' = ' .
            $this->builder->adapter()->quote($second)
        );
    }
1071091
public function setFirstPartyType($firstPartyType)
    {
        $allowedValues = $this->getFirstPartyTypeAllowableValues();
        if (!is_null($firstPartyType) && !in_array($firstPartyType, $allowedValues)) {
            throw new \InvalidArgumentException(
                sprintf(
                    "Invalid value for 'firstPartyType', must be one of '%s'",
                    implode("', '", $allowedValues)
                )
            );
        }
        $this->container['firstPartyType'] = $firstPartyType;

        return $this;
    }
1084907
public function setFirstPost(Post $post)
    {
        $this->created_at = $post->created_at;
        $this->user_id = $post->user_id;
        $this->first_post_id = $post->id;

        return $this;
    }
596927
public function first()
    {
        $this->seek(0);

        if ($this->count()) {
            return $this->rows[ $this->position ];
        }

        return new Row();
    }
1210656
public function span_first($match = null, int $end = null): SpanFirst
    {
        return new SpanFirst($match, $end);
    }
46793
protected function _expires( $first, $second )
	{
		return ( $first !== null ? ( $second !== null ? min( $first, $second ) : $first ) : $second );
	}
784124
public function setFirstResult($firstResult)
    {
        $this->offset = $firstResult;
        
        if( $this->query instanceof Query )
        {
            $this->query->setFirstResult($firstResult);
        }

        return $this;
    }
785638
public function setFirstname($firstname)
    {
        $firstname = ($firstname === null ? $firstname : (string) $firstname);

        if ($this->exists() && $this->firstname !== $firstname) {
            $this->updated['firstname'] = true;
        }

        $this->firstname = $firstname;

        return $this;
    }
1110335
public function setFirstName($v)
    {
        if ($v !== null) {
            $v = (string) $v;
        }

        if ($this->first_name !== $v) {
            $this->first_name = $v;
            $this->modifiedColumns[UserTableMap::COL_FIRST_NAME] = true;
        }

        return $this;
    }
412256
public function setFirstName($firstName)
    {
        if (!empty($firstName) && is_string($firstName) && ctype_print($firstName)) {
            $this->firstName = trim($firstName);
        }

        return $this;
    }
1272086
public function first($options = [])
    {
        $result = $this->get($options);
        return is_object($result) ? $result->rewind() : reset($result);
    }
1207082
public function first($default = []) {
        if (!$this->performed) {
            $this->select();
        }
        if (isset ($this->resultSets [0])) {
            return $this->resultSets[0];
        }

        return $default;
    }
1340137
public function first($value, $label = null)
	{
		$this->firstValue = array(
			'label' => $label === null ? $value : $label,
			'value' => $label === null ? '' : $value
		);

		return $this;
	}
1123056
protected function prepareParser(BlockParserInterface $first)
    {
        return function (BlockParserInterface $stack, AbstractBlockParser $parser) use ($first) {
            $parser->setNextParser($stack);
            $parser->setFirstParser($first);
            $parser->setInlineParser($this->inlineParser);

            return $parser;
        };
    }