mediatekformation

EntityManagerHelper extends Helper
in package

Doctrine CLI Connection Helper.

Tags
link
www.doctrine-project.org

Table of Contents

$_em  : EntityManagerInterface
Doctrine ORM EntityManagerInterface.
$helperSet  : mixed
__construct()  : mixed
formatMemory()  : mixed
formatTime()  : mixed
getEntityManager()  : EntityManagerInterface
Retrieves Doctrine ORM EntityManager.
getHelperSet()  : HelperSet
Gets the helper set associated with this helper.
getName()  : string
{@inheritdoc}
removeDecoration()  : mixed
setHelperSet()  : mixed
Sets the helper set associated with this helper.
strlen()  : int
Returns the length of a string, using mb_strwidth if it is available.
strlenWithoutDecoration()  : mixed
substr()  : string
Returns the subset of a string, using mb_substr if it is available.

Properties

$helperSet

protected mixed $helperSet = null

Methods

formatMemory()

public static formatMemory(mixed $memory) : mixed
Parameters
$memory : mixed
Return values
mixed

formatTime()

public static formatTime(mixed $secs) : mixed
Parameters
$secs : mixed
Return values
mixed

getHelperSet()

Gets the helper set associated with this helper.

public getHelperSet() : HelperSet
Return values
HelperSet

A HelperSet instance

setHelperSet()

Sets the helper set associated with this helper.

public setHelperSet([HelperSet $helperSet = null ]) : mixed
Parameters
$helperSet : HelperSet = null
Return values
mixed

strlen()

Returns the length of a string, using mb_strwidth if it is available.

public static strlen(string $string) : int
Parameters
$string : string

The string to check its length

Return values
int

The length of the string

substr()

Returns the subset of a string, using mb_substr if it is available.

public static substr(string $string, int $from[, int|null $length = null ]) : string
Parameters
$string : string

String to subset

$from : int

Start offset

$length : int|null = null

Length to read

Return values
string

The string subset

Search results