Property | Type | Description | |
---|---|---|---|
$adapter | |||
$allIsInterface | |||
$allowUndefinedMethodsUsage | |||
$orphanizedMethods | |||
$overloadedMethods | |||
$reflectionClassFactory | |||
$shuntParentClassCalls | |||
$shuntedMethods | |||
$testedClass |
Method | Description | |
---|---|---|
__construct ( ) | ||
allIsInterface ( ) | ||
allowUndefinedMethodInInterface ( ) | ||
allowUndefinedMethodUsage ( ) | ||
callsToParentClassAreShunted ( ) | ||
disallowUndefinedMethodInInterface ( ) | ||
disallowUndefinedMethodUsage ( ) | ||
generate ( $class, $mockNamespace = null, $mockClass = null ) | ||
getAdapter ( ) | ||
getDefaultNamespace ( ) | ||
getMockedClassCode ( $class, $mockNamespace = null, $mockClass = null ) | ||
getOverload ( $method ) | ||
getReflectionClassFactory ( ) | ||
isOrphanized ( $method ) | ||
isOverloaded ( $method ) | ||
isShunted ( $method ) | ||
methodIsMockable ( reflectionMethod $method ) | ||
orphanize ( $method ) | ||
overload ( |
||
setAdapter ( mageekguy\atoum\adapter $adapter = null ) | ||
setDefaultNamespace ( $namespace ) | ||
setReflectionClassFactory ( closure $factory = null ) | ||
shunt ( $method ) | ||
shuntParentClassCalls ( ) | ||
testedClassIs ( $testedClass ) | ||
undefinedMethodInInterfaceAreAllowed ( ) | ||
undefinedMethodUsageIsAllowed ( ) | ||
unshuntParentClassCalls ( ) |
Method | Description | |
---|---|---|
generateClassCode ( reflectionClass $class, $mockNamespace, $mockClass ) | ||
generateClassMethodCode ( reflectionClass $class ) | ||
generateDefaultConstructor ( $disableMethodChecking = false ) | ||
generateGetMockedMethod ( array $mockedMethodNames ) | ||
generateInterfaceCode ( reflectionClass $class, $mockNamespace, $mockClass ) | ||
generateInterfaceMethodCode ( reflectionClass $class, $addIteratorAggregate ) | ||
generateMethodSignature ( reflectionMethod $method ) | ||
generateMockControllerMethods ( ) | ||
generateUnknownClassCode ( $class, $mockNamespace, $mockClass ) | ||
generate__call ( ) | ||
getClassName ( $class ) | ||
getMethodNameReservedWordByVersion ( ) | ||
getNamespace ( $class ) | ||
getParameterType ( reflectionParameter $parameter ) | ||
getParameters ( reflectionMethod $method ) | ||
getParametersSignature ( reflectionMethod $method, $forceMockController = false ) | ||
getReturnType ( reflectionMethod $method ) | ||
hasVariadic ( reflectionMethod $method ) | ||
isVariadic ( reflectionParameter $parameter ) | ||
methodNameIsReservedWord ( reflectionMethod $method ) |
protected generateClassCode ( reflectionClass $class, $mockNamespace, $mockClass ) | ||
$class | reflectionClass |
protected generateClassMethodCode ( reflectionClass $class ) | ||
$class | reflectionClass |
protected static generateDefaultConstructor ( $disableMethodChecking = false ) |
protected static generateGetMockedMethod ( array $mockedMethodNames ) | ||
$mockedMethodNames | array |
protected generateInterfaceCode ( reflectionClass $class, $mockNamespace, $mockClass ) | ||
$class | reflectionClass |
protected generateInterfaceMethodCode ( reflectionClass $class, $addIteratorAggregate ) | ||
$class | reflectionClass |
protected generateMethodSignature ( reflectionMethod $method ) | ||
$method | reflectionMethod |
protected static generateMockControllerMethods ( ) |
protected static generateUnknownClassCode ( $class, $mockNamespace, $mockClass ) |
protected static getMethodNameReservedWordByVersion ( ) |
public getMockedClassCode ( $class, $mockNamespace = null, $mockClass = null ) |
protected static getParameterType ( reflectionParameter $parameter ) | ||
$parameter | reflectionParameter |
protected getParameters ( reflectionMethod $method ) | ||
$method | reflectionMethod |
protected getParametersSignature ( reflectionMethod $method, $forceMockController = false ) | ||
$method | reflectionMethod |
protected getReturnType ( reflectionMethod $method ) | ||
$method | reflectionMethod |
protected static hasVariadic ( reflectionMethod $method ) | ||
$method | reflectionMethod |
protected static isVariadic ( reflectionParameter $parameter ) | ||
$parameter | reflectionParameter |
public methodIsMockable ( reflectionMethod $method ) | ||
$method | reflectionMethod |
protected static methodNameIsReservedWord ( reflectionMethod $method ) | ||
$method | reflectionMethod |
public setAdapter ( mageekguy\atoum\adapter $adapter = null ) | ||
$adapter | mageekguy\atoum\adapter |
public setReflectionClassFactory ( closure $factory = null ) | ||
$factory | closure |
public undefinedMethodInInterfaceAreAllowed ( ) |