# StrAssertInterface

Chevere\Interfaces\Str\StrAssertInterface

view source

# Description

Describes the component in charge of string asserting.

# Methods

# __construct()

# Parameters

  1. string $string

# empty()

Asserts that the string is empty.

RETURN

StrAssertInterface


# notEmpty()

Asserts that the string is not empty.

RETURN

StrAssertInterface


# ctypeSpace()

Asserts that the string is ctype space.

RETURN

StrAssertInterface


# notCtypeSpace()

Asserts that the string is not ctype space.

RETURN

StrAssertInterface


# ctypeDigit()

Asserts that the string is ctype digit.

RETURN

StrAssertInterface


# notCtypeDigit()

Asserts that the string is not ctype digit.

RETURN

StrAssertInterface


# startsWithCtypeDigit()

Asserts that the string is starts with ctype digit.

RETURN

StrAssertInterface


# notStartsWithCtypeDigit()

Asserts that the string not starts with ctype digit.

RETURN

StrAssertInterface


# startsWith()

Asserts that the string is starts with $needle.

# Parameters

  1. string $needle

RETURN

StrAssertInterface


# notStartsWith()

Asserts that the string not starts with $needle.

# Parameters

  1. string $needle

RETURN

StrAssertInterface


# endsWith()

Asserts that the string ends with $needle.

# Parameters

  1. string $needle

RETURN

StrAssertInterface


# notEndsWith()

Asserts that the string not ends with $needle.

# Parameters

  1. string $needle

RETURN

StrAssertInterface


# same()

Asserts that the string is same as $string.

# Parameters

  1. string $string

RETURN

StrAssertInterface


# notSame()

Asserts that the string is not same as $string.

# Parameters

  1. string $string

RETURN

StrAssertInterface


# contains()

Asserts that the string contains $string.

# Parameters

  1. string $string

RETURN

StrAssertInterface


# notContains()

Asserts that the string not contains $string.

# Parameters

  1. string $string

RETURN

StrAssertInterface


Last Updated: 8/2/2020, 1:36:58 AM