Flow PHP

BlockLifecycle

A callback interface representing block of data lifecycle.

Methods of this interface are called by the Blocks collection.

Methods

filled()  : void
Method called by the Blocks collection when the block is filled with data and can be uploaded to the remote filesystem.

Methods

filled()

Method called by the Blocks collection when the block is filled with data and can be uploaded to the remote filesystem.

public filled(Block $block) : void

If necessary after uploading a block, it's identifier should be appended to the BlockList that at the end will be used to commit the block list into a file.

Parameters
$block : Block

        
On this page

Search results