src/Inspect.php
public function variable($subject, $options = []) : Inspector
    {
        // Init.----------------------------------------------------------------
        $this->loadDependencies();

        // Business.------------------------------------------------------------

        $options['kind'] = 'variable';
        $class_inspector = static::CLASS_INSPECTOR;
        /** @var Inspector */
        return new $class_inspector(
            $this,
            $subject,
            $options
        );
    }
public function variable($subject, $options = []) : Inspector
    {
        // Init.----------------------------------------------------------------
        $this->loadDependencies();

        // Business.------------------------------------------------------------

        $options['kind'] = 'variable';
        $class_inspector = static::CLASS_INSPECTOR;
        /** @var Inspector */
        return new $class_inspector(
            $this,
            $subject,
            $options
        );
    }
public function variable ( $ subject , $ options = [ ] ) : Inspector { // Init.---------------------------------------------------------------- $ this -> loadDependencies ( ) ; // Business.------------------------------------------------------------ $ options [ 'kind' ] = 'variable' ; $ class_inspector = static :: CLASS_INSPECTOR ; /** @var Inspector */ return new $ class_inspector ( $ this , $ subject , $ options ) ; }
Force variable inspection, even if subject is a throwable.

@see Inspector::$options

@param mixed $subject
@param array|int|string $options

@return Inspector
Stringable.
Force variable inspection even if subject is a throwable .