tests/supportFiles/DigiLive/Reflector/Reflector.php
/**
     * Create a reflection class for a given object.
     *
     * If the reflection class already exist for this object, don't create a new one, but return the existing one
     * instead.
     *
     * @param   object  $object  The object to reflect.
     *
     * @return Reflector|null The reflected object.
     */
Create a reflection class for a given object.
If the reflection class already exist for this object, don't create a new one, but return the existing one
instead.



@return Reflector|null The reflected object.
Create a reflection class for a given object . If the reflection class already exist for this object don ' t create a new one but return the existing one instead . @return Reflector|null The reflected object .
public static function create(object $object): ?Reflector
    {
        if (self::$instance === null || self::$instance::$object !== $object) {
            self::$instance          = new self($object);
            self::$instance::$object = $object;
        }
        return self::$instance;
    }
public static function create ( object $ object ) : ? Reflector { if ( self :: $ instance === null || self :: $ instance :: $ object !== $ object ) { self :: $ instance = new self ( $ object ) ; self :: $ instance :: $ object = $ object ; } return self :: $ instance ; }
Create a reflection class for a given object.
Create a reflection class for a given object .