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

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

        //If there is no value return the default
        return (empty($value)) ? $default : $value;
    }
public static function get($property, $default = NULL) {

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

        //If there is no value return the default
        return (empty($value)) ? $default : $value;
    }
Gets an object class property

@param string $property
@param mixed $default