PHP Class SlevomatCodingStandard\Helpers\StringHelper

Show file Open project: slevomat/coding-standard Class Usage Examples

Public Methods

Method Description
endsWith ( string $haystack, string $needle ) : boolean
startsWith ( string $haystack, string $needle ) : boolean

Method Details

endsWith() public static method

public static endsWith ( string $haystack, string $needle ) : boolean
$haystack string
$needle string
return boolean

startsWith() public static method

public static startsWith ( string $haystack, string $needle ) : boolean
$haystack string
$needle string
return boolean