PHP Class Alex\BehatLauncher\Behat\MysqlStorage

Show file Open project: alexandresalome/behat-launcher

Public Methods

Method Description
__construct ( Doctrine\DBAL\Connection $connection, $filesDir )
deleteRun ( Run $run )
getOutputFilePath ( $id )
getRun ( $id )
getRunnableUnit ( Project $project = null )
getRuns ( Project $project = null, $offset, $limit = 100 )
getUnits ( Run $run )
initDb ( )
purge ( )
saveRun ( Run $run )
saveRunUnit ( RunUnit $unit )

Private Methods

Method Description
getRunsByWhere ( $where, array $params = [], $offset, $limit = 100 )
loadOutputFiles ( OutputFileList $list, array $ids )
saveOutputFiles ( OutputFileList $list )

Method Details

__construct() public method

public __construct ( Doctrine\DBAL\Connection $connection, $filesDir )
$connection Doctrine\DBAL\Connection

deleteRun() public method

public deleteRun ( Run $run )
$run Run

getOutputFilePath() public method

public getOutputFilePath ( $id )

getRun() public method

public getRun ( $id )

getRunnableUnit() public method

public getRunnableUnit ( Project $project = null )
$project Project

getRuns() public method

public getRuns ( Project $project = null, $offset, $limit = 100 )
$project Project

getUnits() public method

public getUnits ( Run $run )
$run Run

initDb() public method

public initDb ( )

purge() public method

public purge ( )

saveRun() public method

public saveRun ( Run $run )
$run Run

saveRunUnit() public method

public saveRunUnit ( RunUnit $unit )
$unit RunUnit