wallabag/src/Import/ImportInterface.php

46 lines
769 B
PHP
Raw Permalink Normal View History

2015-10-23 12:01:27 +00:00
<?php
2024-02-19 00:30:12 +00:00
namespace Wallabag\Import;
2015-10-23 12:01:27 +00:00
use Psr\Log\LoggerAwareInterface;
interface ImportInterface extends LoggerAwareInterface
2015-10-23 12:01:27 +00:00
{
/**
* Name of the import.
*
* @return string
*/
public function getName();
/**
* Url to start the import.
*
* @return string
*/
public function getUrl();
/**
* Description of the import.
*
* @return string
*/
public function getDescription();
/**
* Import content using the user token.
*
* @return bool
*/
public function import();
/**
* Return an array with summary info about the import, with keys:
* - skipped
* - imported.
*
* @return array
*/
public function getSummary();
2015-10-23 12:01:27 +00:00
}