Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
setInterceptedMethods ($interceptedMethods) | |
![]() | |
__construct ( $sourceClassName=null, $resultClassName=null, Io $ioObject=null, \Magento\Framework\Code\Generator\CodeGeneratorInterface $classGenerator=null, DefinedClasses $definedClasses=null) | |
generate () | |
getErrors () | |
getSourceClassName () | |
getSourceClassNameWithoutNamespace () | |
init ($sourceClassName, $resultClassName) | |
Protected Member Functions | |
isInterceptedMethod (\ReflectionMethod $method) | |
![]() | |
_getDefaultResultClassName ($modelClassName) | |
_getClassProperties () | |
_getDefaultConstructorDefinition () | |
_getClassMethods () | |
isInterceptedMethod (\ReflectionMethod $method) | |
_getMethodInfo (\ReflectionMethod $method) | |
_getParameterList (array $parameters) | |
_generateCode () | |
_validateData () | |
![]() | |
_getFullyQualifiedClassName ($className) | |
_getResultClassName () | |
_getDefaultResultClassName ($modelClassName) | |
_getClassProperties () | |
_getDefaultConstructorDefinition () | |
_getClassMethods () | |
_generateCode () | |
_addError ($message) | |
_validateData () | |
_getClassDocBlock () | |
_getGeneratedCode () | |
_fixCodeStyle ($sourceCode) | |
_getNullDefaultValue () | |
_getMethodParameterInfo (\ReflectionParameter $parameter) | |
Additional Inherited Members | |
![]() | |
const | ENTITY_TYPE = 'interceptor' |
![]() | |
const | ENTITY_TYPE = 'abstract' |
![]() | |
$_classGenerator | |
Definition at line 12 of file Interceptor.php.
|
protected |
Whether method is intercepted
\ReflectionMethod | $method |
Definition at line 28 of file Interceptor.php.
setInterceptedMethods | ( | $interceptedMethods | ) |
Sets list of intercepted methods
array | $interceptedMethods |
Definition at line 40 of file Interceptor.php.