fromArray() public static method

public static fromArray ( array $data ) : PhpUnitStrictCoverage
$data array
return PhpGitHooks\Module\Configuration\Domain\PhpUnitStrictCoverage
 /**
  * @param array $data
  *
  * @return ExecuteInterface
  */
 public static function fromArray(array $data)
 {
     $tools = [isset($data['composer']) ? ComposerFactory::fromArray($data['composer']) : ComposerFactory::setUndefined(), isset($data['jsonlint']) ? JsonLintFactory::fromArray($data['jsonlint']) : JsonLintFactory::setUndefined(), isset($data['phplint']) ? PhpLintFactory::fromArray($data['phplint']) : PhpLintFactory::setUndefined(), isset($data['phpmd']) ? PhpMdFactory::fromArray($data['phpmd']) : PhpMdFactory::setUndefined(), isset($data['phpcs']) ? PhpCsFactory::fromArray($data['phpcs']) : PhpCsFactory::setUndefined(), isset($data['php-cs-fixer']) ? PhpCsFixerFactory::fromArray($data['php-cs-fixer']) : PhpCsFixerFactory::setUndefined(), isset($data['phpunit']) ? PhpUnitFactory::fromArray($data['phpunit']) : PhpUnitFactory::setUndefined(), isset($data['phpunit']['strict-coverage']) ? PhpUnitStrictCoverageFactory::fromArray($data['phpunit']['strict-coverage']) : PhpUnitStrictCoverageFactory::setUndefined(), isset($data['phpunit']['guard-coverage']) ? PhpUnitGuardCoverageFactory::build($data['phpunit']['guard-coverage']) : PhpUnitGuardCoverageFactory::setUndefined()];
     return new Execute($tools);
 }
 /**
  * @param array $data
  *
  * @return Execute
  */
 public static function fromArray(array $data)
 {
     $tools = [isset($data['phpunit']) ? PhpUnitFactory::fromArray($data['phpunit']) : PhpUnitFactory::setUndefined(), isset($data['phpunit']['strict-coverage']) ? PhpUnitStrictCoverageFactory::fromArray($data['phpunit']['strict-coverage']) : PhpUnitStrictCoverageFactory::setUndefined(), isset($data['phpunit']['guard-coverage']) ? PhpUnitGuardCoverageFactory::build($data['phpunit']['guard-coverage']) : PhpUnitGuardCoverageFactory::setUndefined()];
     return new Execute($tools);
 }