TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Core\Tests\AccessibleObjectInterface Interface Reference

Public Member Functions

 _call ($methodName)
 
 _callRef ( $methodName, &$arg1=null, &$arg2=null, &$arg3=null, &$arg4=null, &$arg5=null, &$arg6=null, &$arg7=null, &$arg8=null, &$arg9=null)
 
 _set ($propertyName, $value)
 
 _setRef ($propertyName, &$value)
 
 _setStatic ($propertyName, $value)
 
 _get ($propertyName)
 
 _getStatic ($propertyName)
 

Detailed Description

This interface defines the methods provided by TYPO3::getAccessibleMock.::

Definition at line 20 of file AccessibleObjectInterface.php.

Member Function Documentation

◆ _call()

TYPO3\CMS\Core\Tests\AccessibleObjectInterface::_call (   $methodName)

Calls the method $method using call_user_func* and returns its return value.

Parameters
string$methodNamename of method to call, must not be empty
Returns
mixed the return value from the method $methodName

◆ _callRef()

TYPO3\CMS\Core\Tests\AccessibleObjectInterface::_callRef (   $methodName,
$arg1 = null,
$arg2 = null,
$arg3 = null,
$arg4 = null,
$arg5 = null,
$arg6 = null,
$arg7 = null,
$arg8 = null,
$arg9 = null 
)

Calls the method $method without using call_user_func* and returns its return value.

Parameters
string$methodNamename of method to call, must not be empty
mixed&$arg1first argument given to method $methodName
mixed&$arg2second argument given to method $methodName
mixed&$arg3third argument given to method $methodName
mixed&$arg4fourth argument given to method $methodName
mixed&$arg5fifth argument given to method $methodName
mixed&$arg6sixth argument given to method $methodName
mixed&$arg7seventh argument given to method $methodName
mixed&$arg8eighth argument given to method $methodName
mixed&$arg9ninth argument given to method $methodName
Returns
mixed the return value from the method $methodName

◆ _get()

TYPO3\CMS\Core\Tests\AccessibleObjectInterface::_get (   $propertyName)

Gets the value of the given property.

Parameters
string$propertyNamename of property to return value of, must not be empty
Returns
mixed the value of the property $propertyName

◆ _getStatic()

TYPO3\CMS\Core\Tests\AccessibleObjectInterface::_getStatic (   $propertyName)

Gets the value of the given static property.

Parameters
string$propertyNamename of property to return value of, must not be empty
Returns
mixed the value of the static property $propertyName

◆ _set()

TYPO3\CMS\Core\Tests\AccessibleObjectInterface::_set (   $propertyName,
  $value 
)

Sets the value of a property.

Parameters
string$propertyNamename of property to set value for, must not be empty
mixed$valuethe new value for the property defined in $propertyName
Returns
void

◆ _setRef()

TYPO3\CMS\Core\Tests\AccessibleObjectInterface::_setRef (   $propertyName,
$value 
)

Sets the value of a property by reference.

Parameters
string$propertyNamename of property to set value for, must not be empty
mixed&$valuethe new value for the property defined in $propertyName
Returns
void

◆ _setStatic()

TYPO3\CMS\Core\Tests\AccessibleObjectInterface::_setStatic (   $propertyName,
  $value 
)

Sets the value of a static property.

Parameters
string$propertyNamename of property to set value for, must not be empty
mixed$valuethe new value for the property defined in $propertyName
Returns
void