Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php namespace Illuminate\Database\Migrations; interface MigrationRepositoryInterface {..
Decoded Output download
<?php
namespace Illuminate\Database\Migrations;
interface MigrationRepositoryInterface
{
/**
* Get the completed migrations.
*
* @return array
*/
public function getRan();
/**
* Get the list of migrations.
*
* @param int $steps
* @return array
*/
public function getMigrations($steps);
/**
* Get the list of the migrations by batch.
*
* @param int $batch
* @return array
*/
public function getMigrationsByBatch($batch);
/**
* Get the last migration batch.
*
* @return array
*/
public function getLast();
/**
* Get the completed migrations with their batch numbers.
*
* @return array
*/
public function getMigrationBatches();
/**
* Log that a migration was run.
*
* @param string $file
* @param int $batch
* @return void
*/
public function log($file, $batch);
/**
* Remove a migration from the log.
*
* @param object $migration
* @return void
*/
public function delete($migration);
/**
* Get the next migration batch number.
*
* @return int
*/
public function getNextBatchNumber();
/**
* Create the migration repository data store.
*
* @return void
*/
public function createRepository();
/**
* Determine if the migration repository exists.
*
* @return bool
*/
public function repositoryExists();
/**
* Delete the migration repository data store.
*
* @return void
*/
public function deleteRepository();
/**
* Set the information source to gather data.
*
* @param string $name
* @return void
*/
public function setSource($name);
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Illuminate\Database\Migrations;
interface MigrationRepositoryInterface
{
/**
* Get the completed migrations.
*
* @return array
*/
public function getRan();
/**
* Get the list of migrations.
*
* @param int $steps
* @return array
*/
public function getMigrations($steps);
/**
* Get the list of the migrations by batch.
*
* @param int $batch
* @return array
*/
public function getMigrationsByBatch($batch);
/**
* Get the last migration batch.
*
* @return array
*/
public function getLast();
/**
* Get the completed migrations with their batch numbers.
*
* @return array
*/
public function getMigrationBatches();
/**
* Log that a migration was run.
*
* @param string $file
* @param int $batch
* @return void
*/
public function log($file, $batch);
/**
* Remove a migration from the log.
*
* @param object $migration
* @return void
*/
public function delete($migration);
/**
* Get the next migration batch number.
*
* @return int
*/
public function getNextBatchNumber();
/**
* Create the migration repository data store.
*
* @return void
*/
public function createRepository();
/**
* Determine if the migration repository exists.
*
* @return bool
*/
public function repositoryExists();
/**
* Delete the migration repository data store.
*
* @return void
*/
public function deleteRepository();
/**
* Set the information source to gather data.
*
* @param string $name
* @return void
*/
public function setSource($name);
}
Function Calls
| None |
Stats
| MD5 | f79cb7a221062a440239eaf8ab6649d7 |
| Eval Count | 0 |
| Decode Time | 118 ms |