PHP Class Locker\Repository\Statement\EloquentStorer

Inheritance: extends EloquentReader, implements Locker\Repository\Statement\Storer
Datei anzeigen Open project: learninglocker/learninglocker

Protected Properties

Property Type Description
$attacher
$hashes
$inserter
$linker
$voider

Public Methods

Method Description
__construct ( )
store ( array $statements, array $attachments, StoreOptions $opts ) : [String] Stores statements and attachments with the given options

Protected Methods

Method Description
update ( array $conditions, $new_object, Options $opts )

Private Methods

Method Description
activateStatements ( array $ids, StoreOptions $opts ) Activates the statements using their UUIDs.
constructValidStatements ( array $statements, StoreOptions $opts ) : [String Constructs valid statements.
getUUID ( ) : String Generates a UUID.

Method Details

__construct() public method

public __construct ( )

store() public method

Stores statements and attachments with the given options
public store ( array $statements, array $attachments, StoreOptions $opts ) : [String]
$statements array
$attachments array
$opts StoreOptions
return [String]

update() protected method

protected update ( array $conditions, $new_object, Options $opts )
$conditions array
$opts Options

Property Details

$attacher protected_oe property

protected $attacher

$hashes protected_oe property

protected $hashes

$inserter protected_oe property

protected $inserter

$linker protected_oe property

protected $linker

$voider protected_oe property

protected $voider