CanProxyAssertion
in package
Assertion that verifies that a class can be proxied
Table of Contents
- __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
Return values
mixed —assertClassCanBeProxied()
public
static assertClassCanBeProxied(ReflectionClass $originalClass[, bool $allowInterfaces = true ]) : void
Parameters
- $originalClass : ReflectionClass
- $allowInterfaces : bool = true
Tags
Return values
void —hasNoAbstractProtectedMethods()
private
static hasNoAbstractProtectedMethods(ReflectionClass $originalClass) : void
Parameters
- $originalClass : ReflectionClass
Tags
Return values
void —isNotFinal()
private
static isNotFinal(ReflectionClass $originalClass) : void
Parameters
- $originalClass : ReflectionClass
Tags
Return values
void —isNotInterface()
private
static isNotInterface(ReflectionClass $originalClass) : void
Parameters
- $originalClass : ReflectionClass