PHP 클래스 Hal\Application\Formater\Details\Cli

상속: implements Hal\Application\Formater\FormaterInterface
파일 보기 프로젝트 열기: halleck45/phpmetrics 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Hal\Application\Rule\Validator $validator, Hal\Component\Bounds\BoundsInterface $bound, Hal\Application\Extension\ExtensionService $extensionService ) Constructor
getName ( )
terminate ( Hal\Component\Result\ResultCollection $collection, Hal\Component\Result\ResultCollection $groupedResults )

비공개 메소드들

메소드 설명
formatTime ( null | double $duration ) : string Format duration in seconds into text representation
getRow ( Hal\Component\Bounds\Result\ResultInterface $bound, string $key, string $type, integer $round ) : string Get formated row
getStyle ( string $key, double $value ) : string Get style, according score

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( Hal\Application\Rule\Validator $validator, Hal\Component\Bounds\BoundsInterface $bound, Hal\Application\Extension\ExtensionService $extensionService )
$validator Hal\Application\Rule\Validator
$bound Hal\Component\Bounds\BoundsInterface
$extensionService Hal\Application\Extension\ExtensionService

getName() 공개 메소드

public getName ( )

terminate() 공개 메소드

public terminate ( Hal\Component\Result\ResultCollection $collection, Hal\Component\Result\ResultCollection $groupedResults )
$collection Hal\Component\Result\ResultCollection
$groupedResults Hal\Component\Result\ResultCollection