With
    
            
            in package
            
        
    
    
    
FinalYes
An object wrapper for chainable method calls.
Tags
Table of Contents
Properties
- $object : object
Methods
- __call() : $this
- __construct() : mixed
- __toString() : string
- new() : With<string|int, W>
Properties
$object
        public
            object
    $object
    
    
    
    
    
    
Methods
__call()
    public
                    __call(string $method, array<string|int, mixed> $args) : $this
    Parameters
- $method : string
- $args : array<string|int, mixed>
Return values
$this__construct()
    public
                    __construct(W $object) : mixed
    Parameters
- $object : W
- 
                    the object to wrap 
Tags
__toString()
    public
                    __toString() : string
    Return values
stringnew()
    public
            static        new(W> $class, mixed ...$args) : With<string|int, W>
    Parameters
- $class : W>
- 
                    the class name to create 
- $args : mixed
- 
                    constructor arguments 
Tags
Return values
With<string|int, W> —the created object, wrapped into With