TYPO3  7.6
Public Member Functions | List of all members
Copy Class Reference
Inheritance diagram for Copy:
OperationInterface

Public Member Functions

 __construct ($len)
 
 getFromLen ()
 
 getToLen ()
 
 getOpcode ()
 
 increase ($size)
 

Detailed Description

Generates the opcode for a copy operation.

Definition at line 24 of file Copy.php.

Constructor & Destructor Documentation

__construct (   $len)

Set the initial length.

Parameters
int$lenLength of string.

Definition at line 31 of file Copy.php.

Member Function Documentation

getFromLen ( )

Returns
int

Implements OperationInterface.

Definition at line 39 of file Copy.php.

getOpcode ( )

Returns
string Opcode for this operation.

Implements OperationInterface.

Definition at line 55 of file Copy.php.

getToLen ( )

Returns
int

Implements OperationInterface.

Definition at line 47 of file Copy.php.

increase (   $size)

Increase the length of the string.

Parameters
int$sizeAmount to increase the string length by.
Returns
int New length

Definition at line 70 of file Copy.php.