PHP 클래스 Alex\BehatLauncher\Behat\Run

상속: implements Symfony\Component\Serializer\Normalizer\NormalizableInterface, implements Symfony\Component\Serializer\Normalizer\DenormalizableInterface
파일 보기 프로젝트 열기: alexandresalome/behat-launcher 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( )
countFailed ( ) : integer
countFinished ( ) : integer
countPending ( ) : integer
countRunning ( ) : integer
countStatus ( string $status ) : integer
countSucceeded ( ) : integer
createUnits ( array $features ) Creates run units
denormalize ( Symfony\Component\Serializer\Normalizer\DenormalizerInterface $denormalizer, $data, $format = null, array $context = [] )
getCreatedAt ( ) : DateTime | null
getDuration ( ) : DateInterval
getFinishedAt ( ) : DateTime
getId ( )
getProgress ( string $count = 100 ) : int[] Returns an array of status progress, as integers.
getProjectName ( ) : string Returns project's name.
getProperties ( ) : array
getProperty ( string $name ) : mixed Returns a property value.
getStartedAt ( ) : DateTime | null
getStatus ( )
getTitle ( )
getUnits ( ) : RunUnitList
isFailed ( ) : integer
isFinished ( ) : integer
isPending ( ) : boolean
isRunning ( ) : boolean
isSucceeded ( ) : integer
normalize ( Symfony\Component\Serializer\Normalizer\NormalizerInterface $normalizer, $format = null, array $context = [] )
setCreatedAt ( DateTime $createdAt = null ) : Run
setFinishedAt ( DateTime $finishedAt = null ) : Run
setId ( string $id ) : Run Changes ID.
setProjectName ( string $projectName ) : Run Changes the project name.
setProperties ( array $properties ) : Run
setProperty ( string $name, mixed $value ) : Run Changes a run property.
setStartedAt ( DateTime $startedAt = null ) : Run
setTitle ( $title )
setUnits ( RunUnitList $units ) : Run Changes the unit collection.

메소드 상세

__construct() 공개 메소드

public __construct ( )

countFailed() 공개 메소드

public countFailed ( ) : integer
리턴 integer

countFinished() 공개 메소드

public countFinished ( ) : integer
리턴 integer

countPending() 공개 메소드

public countPending ( ) : integer
리턴 integer

countRunning() 공개 메소드

public countRunning ( ) : integer
리턴 integer

countStatus() 공개 메소드

public countStatus ( string $status ) : integer
$status string a status (pending, running, succeeded, failed)
리턴 integer

countSucceeded() 공개 메소드

public countSucceeded ( ) : integer
리턴 integer

createUnits() 공개 메소드

Creates run units
public createUnits ( array $features )
$features array

denormalize() 공개 메소드

public denormalize ( Symfony\Component\Serializer\Normalizer\DenormalizerInterface $denormalizer, $data, $format = null, array $context = [] )
$denormalizer Symfony\Component\Serializer\Normalizer\DenormalizerInterface
$context array

getCreatedAt() 공개 메소드

public getCreatedAt ( ) : DateTime | null
리턴 DateTime | null

getDuration() 공개 메소드

public getDuration ( ) : DateInterval
리턴 DateInterval

getFinishedAt() 공개 메소드

public getFinishedAt ( ) : DateTime
리턴 DateTime

getId() 공개 메소드

public getId ( )

getProgress() 공개 메소드

Returns an array of status progress, as integers.
public getProgress ( string $count = 100 ) : int[]
$count string number of count to distribute
리턴 int[]

getProjectName() 공개 메소드

Returns project's name.
public getProjectName ( ) : string
리턴 string

getProperties() 공개 메소드

public getProperties ( ) : array
리턴 array

getProperty() 공개 메소드

Returns a property value.
public getProperty ( string $name ) : mixed
$name string a property name
리턴 mixed

getStartedAt() 공개 메소드

public getStartedAt ( ) : DateTime | null
리턴 DateTime | null

getStatus() 공개 메소드

public getStatus ( )

getTitle() 공개 메소드

public getTitle ( )

getUnits() 공개 메소드

public getUnits ( ) : RunUnitList
리턴 RunUnitList

isFailed() 공개 메소드

public isFailed ( ) : integer
리턴 integer

isFinished() 공개 메소드

public isFinished ( ) : integer
리턴 integer

isPending() 공개 메소드

public isPending ( ) : boolean
리턴 boolean

isRunning() 공개 메소드

public isRunning ( ) : boolean
리턴 boolean

isSucceeded() 공개 메소드

public isSucceeded ( ) : integer
리턴 integer

normalize() 공개 메소드

public normalize ( Symfony\Component\Serializer\Normalizer\NormalizerInterface $normalizer, $format = null, array $context = [] )
$normalizer Symfony\Component\Serializer\Normalizer\NormalizerInterface
$context array

setCreatedAt() 공개 메소드

public setCreatedAt ( DateTime $createdAt = null ) : Run
$createdAt DateTime
리턴 Run

setFinishedAt() 공개 메소드

public setFinishedAt ( DateTime $finishedAt = null ) : Run
$finishedAt DateTime
리턴 Run

setId() 공개 메소드

Changes ID.
public setId ( string $id ) : Run
$id string
리턴 Run

setProjectName() 공개 메소드

Changes the project name.
public setProjectName ( string $projectName ) : Run
$projectName string a project name
리턴 Run

setProperties() 공개 메소드

public setProperties ( array $properties ) : Run
$properties array
리턴 Run

setProperty() 공개 메소드

Changes a run property.
public setProperty ( string $name, mixed $value ) : Run
$name string the property to change
$value mixed the value to set
리턴 Run

setStartedAt() 공개 메소드

public setStartedAt ( DateTime $startedAt = null ) : Run
$startedAt DateTime
리턴 Run

setTitle() 공개 메소드

public setTitle ( $title )

setUnits() 공개 메소드

Changes the unit collection.
public setUnits ( RunUnitList $units ) : Run
$units RunUnitList units to replace with
리턴 Run