• internal This class is not covered by the backward compatibility promise for PHPUnit
CloneableFinalInstantiable
Methods
public __construct(string $className, string $methodName, bool $cloneArguments, string $modifier, string $argumentsForDeclaration, string $argumentsForCall, SebastianBergmann\Type\Type $returnType, string $reference, bool $callOriginalMethod, bool $static, ?string $deprecation, bool $allowsReturnNull)
public static fromName(string $fullClassName, string $methodName, bool $cloneArguments) : self
public static fromReflection(ReflectionMethod $method, bool $callOriginalMethod, bool $cloneArguments) : self
 
  • throws RuntimeException
public generateCode() : string
 
  • throws RuntimeException
public getName() : string
public getReturnType() : SebastianBergmann\Type\Type
Properties
private $allowsReturnNull
 
  • var bool
private $argumentsForCall
 
  • var string
private $argumentsForDeclaration
 
  • var string
private $callOriginalMethod
 
  • var bool
private $className
 
  • var string
private $cloneArguments
 
  • var bool
private $deprecation
 
  • var ?string
private $methodName
 
  • var string
private $modifier
 
  • var string string
private $reference
 
  • var string
private $returnType
 
  • var Type
private $static
 
  • var bool
private static $templates
 
  • var Text_Template[]
Methods
private static deriveReturnType(ReflectionMethod $method) : SebastianBergmann\Type\Type
private static getMethodParameters(ReflectionMethod $method, bool $forCall = false) : string
 

Returns the parameters of a function or method.

  • throws RuntimeException
private getTemplate(string $template) : Text_Template
Properties
private static $templates
 
  • var Text_Template[]
Methods
private static deriveReturnType(ReflectionMethod $method) : SebastianBergmann\Type\Type
public static fromName(string $fullClassName, string $methodName, bool $cloneArguments) : self
public static fromReflection(ReflectionMethod $method, bool $callOriginalMethod, bool $cloneArguments) : self
 
  • throws RuntimeException
private static getMethodParameters(ReflectionMethod $method, bool $forCall = false) : string
 

Returns the parameters of a function or method.

  • throws RuntimeException
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only