for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @link https://github.com/nnx-framework/form-comparator
* @author Malofeykin Andrey <[email protected]>
*/
namespace Nnx\FormComparator\Context;
* Class Context
*
* @package Nnx\FormComparator\Context
class Context
{
* Массив объектов, каждый из которых содержит информацию о том какие формы необходимо сравнивать
* @var ComparableForm[]
private $comparableForm = [];
* Context constructor.
* @param ContextBuilder $builder
public function __construct(ContextBuilder $builder)
$this->comparableForm = $builder->getComparableForm();
}
* @return ComparableForm[]
public function getComparableForm()
return $this->comparableForm;