src/Database/Migration.php
/**
	 * Serializes the migration as JSON.
	 *
	 * @return void
	 */
Serializes the migration as JSON.
@return void
Serializes the migration as JSON . @return void
public function jsonSerialize() {
		return array(
			'id' => $this->getRecordId(),
			'name' => $this->getRecordName(),
			'path' => $this->getPath(),
			'batch' => $this->getBatchId(),
			'status' => $this->isFinished() ? 'finished' : 'pending',
			'timestamp' => $this->getTime()
		);
	}
public function jsonSerialize ( ) { return array ( 'id' => $ this -> getRecordId ( ) , 'name' => $ this -> getRecordName ( ) , 'path' => $ this -> getPath ( ) , 'batch' => $ this -> getBatchId ( ) , 'status' => $ this -> isFinished ( ) ? 'finished' : 'pending' , 'timestamp' => $ this -> getTime ( ) ) ; }
Serializes the migration as JSON.
Serializes the migration as JSON .