StringUtil

StringUtil

class StringUtil

Methods

static string trim(string $string)

Returns the trimmed data.

static string|null fqcnToBlockPrefix(string $fqcn)

Converts a fully-qualified class name to a block prefix.

Details

static string trim(string $string)

Returns the trimmed data.

Parameters

string $string

Return Value

string

static string|null fqcnToBlockPrefix(string $fqcn)

Converts a fully-qualified class name to a block prefix.

Parameters

string $fqcn The fully-qualified class name

Return Value

string|null The block prefix or null if not a valid FQCN

© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/Form/Util/StringUtil.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部