43 lines
660 B
PHP
43 lines
660 B
PHP
<?php
|
|
|
|
namespace Shikiryu\WebGobbler\Collector;
|
|
|
|
use Shikiryu\WebGobbler\Collector;
|
|
|
|
class LocalCollector extends Collector
|
|
{
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $directory_to_scan = '';
|
|
/**
|
|
* @var string[]
|
|
*/
|
|
public $filepaths = [];
|
|
|
|
/**
|
|
* @return int|void
|
|
*/
|
|
public function getRandomImage()
|
|
{
|
|
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getName()
|
|
{
|
|
return 'collector_local';
|
|
}
|
|
|
|
/**
|
|
* @param int $number
|
|
*
|
|
* @return int
|
|
*/
|
|
public function getRandomImages(int $number)
|
|
{
|
|
// TODO: Implement getRandomImages() method.
|
|
}
|
|
} |