Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F120836341
ImporterInterface.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
930 B
Referenced Files
None
Subscribers
None
ImporterInterface.php
View Options
<?php
namespace
App\DataMigrator\Interface
;
use
App\DataMigrator\Account
;
use
App\DataMigrator\Engine
;
interface
ImporterInterface
{
/**
* Object constructor
*/
public
function
__construct
(
Account
$account
,
Engine
$engine
);
/**
* Check user credentials.
*
* @throws \Exception
*/
public
function
authenticate
();
/**
* Create an item in a folder.
*
* @param Item $item Item to import
*
* @throws \Exception
*/
public
function
createItem
(
Item
$item
):
void
;
/**
* Create a folder.
*
* @param Folder $folder Folder object
*
* @throws \Exception
*/
public
function
createFolder
(
Folder
$folder
):
void
;
/**
* Get a list of folder items, limited to their essential propeties
* used in incremental migration to skip unchanged items.
*/
public
function
getItems
(
Folder
$folder
):
array
;
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Apr 24, 1:29 PM (8 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18819297
Default Alt Text
ImporterInterface.php (930 B)
Attached To
Mode
rK kolab
Attached
Detach File
Event Timeline