A lax Web news feed parser
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

22 lines
724 B

<?php
/** @license MIT
* Copyright 2018 J. King et al.
* See LICENSE and AUTHORS files for details */
declare(strict_types=1);
namespace JKingWeb\Lax\Enclosure;
class Collection extends \JKingWeb\Lax\Collection {
/** Returns the primary ("best") enclosure of the collection
*
* Videos are preferred over audios, which are preferred over images, which are preferred over anything else
*
* Videos are first ranked by length, then resolution (total pixels), then bitrate, then size; audios are ranked by length, then bitrate, then size; images are ranked by resolution (total pixels), then size
*
*/
public function primary(): ?Enclosure {
# stub
return null;
}
}