PHP Класс Spatie\String\Integrations\Underscore

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$underscoreMethods

Открытые методы

Метод Описание
call ( Str $string, string $method, array $args ) : mixed | Str
isSupportedMethod ( $method ) : boolean Determine if the given method is supported.
methodReturnsAString ( $method ) : boolean Determine if the given method returns a string.
methodUsesStringAsFirstArgument ( $method ) : boolean Determine if the given method uses the string as it's first argument.

Описание методов

call() публичный Метод

public call ( Str $string, string $method, array $args ) : mixed | Str
$string Spatie\String\Str
$method string
$args array
Результат mixed | Spatie\String\Str

isSupportedMethod() публичный Метод

Determine if the given method is supported.
public isSupportedMethod ( $method ) : boolean
$method
Результат boolean

methodReturnsAString() публичный Метод

Determine if the given method returns a string.
public methodReturnsAString ( $method ) : boolean
$method
Результат boolean

methodUsesStringAsFirstArgument() публичный Метод

Determine if the given method uses the string as it's first argument.
public methodUsesStringAsFirstArgument ( $method ) : boolean
$method
Результат boolean

Описание свойств

$underscoreMethods защищенное свойство

protected $underscoreMethods