forked from wallabag/wallabag
Move source files directly under src/ directory
This commit is contained in:
45
src/Import/ImportInterface.php
Normal file
45
src/Import/ImportInterface.php
Normal file
@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
namespace Wallabag\CoreBundle\Import;
|
||||
|
||||
use Psr\Log\LoggerAwareInterface;
|
||||
|
||||
interface ImportInterface extends LoggerAwareInterface
|
||||
{
|
||||
/**
|
||||
* 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();
|
||||
}
|
||||
Reference in New Issue
Block a user