CanProxyAssertion
in package
FinalYes
Assertion that verifies that a class can be proxied
Table of Contents
Methods
- __construct() : mixed
- Disabled constructor: not meant to be instantiated
- assertClassCanBeProxied() : void
- hasNoAbstractProtectedMethods() : void
- isNotFinal() : void
- isNotInterface() : void
Methods
__construct()
Disabled constructor: not meant to be instantiated
public
__construct() : mixed
Tags
assertClassCanBeProxied()
public
static assertClassCanBeProxied(ReflectionClass $originalClass[, bool $allowInterfaces = true ]) : void
Parameters
- $originalClass : ReflectionClass
- $allowInterfaces : bool = true
Tags
hasNoAbstractProtectedMethods()
private
static hasNoAbstractProtectedMethods(ReflectionClass $originalClass) : void
Parameters
- $originalClass : ReflectionClass
Tags
isNotFinal()
private
static isNotFinal(ReflectionClass $originalClass) : void
Parameters
- $originalClass : ReflectionClass
Tags
isNotInterface()
private
static isNotInterface(ReflectionClass $originalClass) : void
Parameters
- $originalClass : ReflectionClass