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.
23 lines
727 B
23 lines
727 B
4 years ago
|
<?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;
|
||
|
}
|
||
|
}
|