src/Model/Media/Collection.php
public static function set($property, $value = NULL) {

        $object = new \ReflectionClass( Collection::class );
        $object->setStaticPropertyValue($property, $value);

        return true;
    }
public static function set($property, $value = NULL) {

        $object = new \ReflectionClass( Collection::class );
        $object->setStaticPropertyValue($property, $value);

        return true;
    }
Sets an object class property

@param string $property
@param mixed $value