public static function make(array $arguments = [])
    {
        $class = static::getFacadeAccessor();

        try {
            $reflection = new \ReflectionClass(static::getFacadeAccessor());
            $parameters = $reflection->getConstructor()->getParameters();
        } catch (\Throwable $error) {
            throw new \Exception('Wrong parameter', 0, $error);
        }

        return new $class(...static::composeMakeParameters($parameters, $arguments));
    }
public static function make(array $arguments = [])
    {
        $class = static::getFacadeAccessor();

        try {
            $reflection = new \ReflectionClass(static::getFacadeAccessor());
            $parameters = $reflection->getConstructor()->getParameters();
        } catch (\Throwable $error) {
            throw new \Exception('Wrong parameter', 0, $error);
        }

        return new $class(...static::composeMakeParameters($parameters, $arguments));
    }
public static function make ( array $ arguments = [ ] ) { $ class = static :: getFacadeAccessor ( ) ; try { $ reflection = new \ ReflectionClass ( static :: getFacadeAccessor ( ) ) ; $ parameters = $ reflection -> getConstructor ( ) -> getParameters ( ) ; } catch ( \ Throwable $ error ) { throw new \ Exception ( 'Wrong parameter' , 0 , $ error ) ; } return new $ class ( ... static :: composeMakeParameters ( $ parameters , $ arguments ) ) ; }
Make new instance.

@param array $arguments

@throws InvalidParameterException

@return object
Make new instance .