/** * @return ReferenceInterface[] */ public function getParameterCollection() : array { return $this->parameterBuilder->getParameterCollection(); }
public function testSetParentDefinition() { $parameterBuilder = new ParameterBuilder(); $builder = new DefinitionBuilder($parameterBuilder); $parameterBuilder->defineParameter('param1', new StringReference('value1'))->defineParameter('param2', new FloatReference(2.2)); static::assertSame($builder, $parameterBuilder->getParentDefinition()); }