Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Qa
SoftMocks
ignoreClass
Qa\SoftMocks::ignoreClass PHP Method
SoftMocks Class Documentation
Show file
Open project: badoo/soft-mocks
ignoreClass()
public
static
method
public
static
ignoreClass
(
string
$class
)
$class
string
- Do not allow to mock $class
public static function ignoreClass($class) { SoftMocksTraverser::ignoreClass(ltrim($class, '\\')); }
SoftMocks
call
callFunction
callMethod
callNew
callOriginal
callStaticMethod
constDefined
createRewrittenFile
debug
doRewrite
errorHandler
generateCode
getClassConst
getConst
getDeclaringTrait
getMockCode
getMockForGenerator
getVersion
ignoreClass
ignoreConstant
ignoreFiles
ignoreFunction
init
injectIntoPhpunit
isCallable
isGeneratorMocked
isMocked
printBackTrace
recursiveGetTraits
redefineConstant
redefineFunction
redefineGenerator
redefineMethod
redefineNew
removeConstant
replaceFilename
restoreAll
restoreAllConstants
restoreAllNew
restoreConstant
restoreFunction
restoreGenerator
restoreMethod
restoreNew
rewrite
rewriteContents
setLockFilePath
setMocksCachePath
setPhpParserPath
setPhpunitPath
setRewriteInternal
staticContextIsOk