/**
  * Create a new instance.
  *
  * @param string         $propertyClassName The class name.
  *
  * @param PaletteBuilder $paletteBuilder    The palette builder in use.
  */
 public function __construct($propertyClassName, PaletteBuilder $paletteBuilder)
 {
     $this->setPropertyClassName($propertyClassName);
     parent::__construct($paletteBuilder);
 }
Exemplo n.º 2
0
 /**
  * Create a new instance.
  *
  * @param PaletteInterface $palette        The palette that has been created.
  *
  * @param PaletteBuilder   $paletteBuilder The palette builder in use.
  */
 public function __construct(PaletteInterface $palette, PaletteBuilder $paletteBuilder)
 {
     $this->setPalette($palette);
     parent::__construct($paletteBuilder);
 }
Exemplo n.º 3
0
 /**
  * Create a new instance.
  *
  * @param LegendInterface $legend         The legend.
  *
  * @param PaletteBuilder  $paletteBuilder The palette builder in use.
  */
 public function __construct(LegendInterface $legend, PaletteBuilder $paletteBuilder)
 {
     $this->setLegend($legend);
     parent::__construct($paletteBuilder);
 }
Exemplo n.º 4
0
 /**
  * Create a new instance.
  *
  * @param PropertyInterface $property       The property that has been created.
  *
  * @param PaletteBuilder    $paletteBuilder The palette builder in use.
  */
 public function __construct(PropertyInterface $property, PaletteBuilder $paletteBuilder)
 {
     $this->setProperty($property);
     parent::__construct($paletteBuilder);
 }
Exemplo n.º 5
0
 /**
  * Create a new instance.
  *
  * @param PaletteConditionInterface|PropertyConditionInterface $condition      The condition being added.
  *
  * @param PaletteInterface|PropertyInterface                   $target         The target property or palette.
  *
  * @param PaletteBuilder                                       $paletteBuilder The palette builder in use.
  */
 public function __construct($condition, $target, PaletteBuilder $paletteBuilder)
 {
     $this->setCondition($condition);
     $this->setTarget($target);
     parent::__construct($paletteBuilder);
 }
 /**
  * Create a new instance.
  *
  * @param PaletteCollectionInterface $paletteCollection The palette collection that has been created.
  *
  * @param PaletteBuilder             $paletteBuilder    The palette builder in use.
  */
 public function __construct(PaletteCollectionInterface $paletteCollection, PaletteBuilder $paletteBuilder)
 {
     $this->setPaletteCollection($paletteCollection);
     parent::__construct($paletteBuilder);
 }
 /**
  * Create a new instance.
  *
  * @param string         $defaultPaletteConditionClassName The class name.
  *
  * @param PaletteBuilder $paletteBuilder                   The palette builder in use.
  */
 public function __construct($defaultPaletteConditionClassName, PaletteBuilder $paletteBuilder)
 {
     $this->setDefaultPaletteConditionClassName($defaultPaletteConditionClassName);
     parent::__construct($paletteBuilder);
 }
 /**
  * Create a new instance.
  *
  * @param PaletteConditionChain $conditionChain The palette condition chain.
  *
  * @param PaletteBuilder        $paletteBuilder The palette builder in use.
  */
 public function __construct(PaletteConditionChain $conditionChain, PaletteBuilder $paletteBuilder)
 {
     $this->setPaletteConditionChain($conditionChain);
     parent::__construct($paletteBuilder);
 }
 /**
  * Create a new instance.
  *
  * @param string         $legendClassName The class name.
  *
  * @param PaletteBuilder $paletteBuilder  The palette builder in use.
  */
 public function __construct($legendClassName, PaletteBuilder $paletteBuilder)
 {
     $this->setLegendClassName($legendClassName);
     parent::__construct($paletteBuilder);
 }
 /**
  * Create a new instance.
  *
  * @param string         $className      The class name.
  *
  * @param PaletteBuilder $paletteBuilder The palette builder in use.
  */
 public function __construct($className, PaletteBuilder $paletteBuilder)
 {
     $this->setPalettePropertyConditionChainClassName($className);
     parent::__construct($paletteBuilder);
 }
 /**
  * Create a new instance.
  *
  * @param string         $paletteCollectionClassName The class name.
  *
  * @param PaletteBuilder $paletteBuilder             The palette builder.
  */
 public function __construct($paletteCollectionClassName, PaletteBuilder $paletteBuilder)
 {
     $this->setPaletteCollectionClassName($paletteCollectionClassName);
     parent::__construct($paletteBuilder);
 }
 /**
  * Create a new instance.
  *
  * @param DefaultPaletteCondition $paletteCondition The condition that has been created.
  *
  * @param PaletteBuilder          $paletteBuilder   The palette builder creating the condition.
  */
 public function __construct(DefaultPaletteCondition $paletteCondition, PaletteBuilder $paletteBuilder)
 {
     $this->setDefaultPaletteCondition($paletteCondition);
     parent::__construct($paletteBuilder);
 }
 /**
  * Create a new instance.
  *
  * @param PalettePropertyValueCondition|PropertyValueCondition $propertyValueCondition The condition.
  *
  * @param PaletteBuilder                                       $paletteBuilder         The palette builder in use.
  */
 public function __construct($propertyValueCondition, PaletteBuilder $paletteBuilder)
 {
     $this->setPropertyValueCondition($propertyValueCondition);
     parent::__construct($paletteBuilder);
 }