Sets place holders

@param string|array
@return Eden\Block\Form\Address
777249
public function setHolders($holders) 
	{
		if(is_array($holders)) {
			$this->holders = $holders;
		}
		
		$args = func_get_args();
		$this->holders[$args[0]] = $args[1];
		
		return $this;
	}
834421
public function setAddress1($v)
    {
        if ($v !== null) {
            $v = (string) $v;
        }

        if ($this->address1 !== $v) {
            $this->address1 = $v;
            $this->modifiedColumns[DealerTableMap::ADDRESS1] = true;
        }


        return $this;
    }
19118
public function parent(): Place
    {
        return new self($this->parts->slice(1)->implode(Gedcom::PLACE_SEPARATOR), $this->tree);
    }
610261
public function setPlaceHolder(PlaceHolder $placeHolder)
	{
		$this->placeHolder = $placeHolder;
		$this->placeHolder->addBlock($this);
	}
107225
protected function setAddress(array $data)
    {
        if (empty($data['addresses'])) {
            return false;
        }

        foreach ($data['addresses'] as $address) {
            if (empty($address['address_id'])) {
                $address['user_id'] = $data['user_id'];
                $this->address->add($address);
            } else {
                $this->address->update($address['address_id'], $address);
            }
        }

        return true;
    }
1109133
public function addPlace($place)
    {
        if (!$this->places) {
            $this->initialPlace = $place;
        }

        $this->places[$place] = $place;

        return $this;
    }
28343
protected function addPlaceHolder()
    {
        if (empty($this->field->placeHolder) && $this->field->hasForeignRelation()) {
            $this->field->placeHolder = 'Please select a ' . $this->field->getForeignRelation()->name;
        }

        return $this;
    }
1176131
private function setMapAction()
    {
        array_push($this->actions, 'map');

        $this->addForm = array_diff($this->addForm, ['map_lat', 'map_lng', 'map_address', 'map_province', 'map_locality', 'map_postal_code']);
        $this->editForm = array_diff($this->addForm, ['map_lat', 'map_lng', 'map_address', 'map_province', 'map_locality', 'map_postal_code']);

        return $this;
    }
430425
public function placeholder(string $name, string $value): self
    {
        $this->placeholders[$name] = $value;
        return $this;
    }
220050
protected function bindPlaceholders(&$rules)
    {
        foreach ($rules as $name => &$rule) {
            if (isset($this->placeholder[$name])) {
                foreach ($this->placeholder[$name] as $bindName => $bind) {
                    $rule = preg_replace("/@$bindName/", $bind, $rule);
                }
            }
        }
        return $rules;
    }
275658
public function setAddressDestination(\Core\Entity\Address $address_destination = null) {
        $this->address_destination = $address_destination;

        return $this;
    }
1241519
public function setAreas($areas = null)
    {
        if ($areas === null) {
            $appDir = $this->alias->get('@app');
            $dirs = glob("$appDir/Areas/*", GLOB_ONLYDIR) ?: glob("$appDir/Controllers/*", GLOB_ONLYDIR);

            $areas = [];
            foreach ($dirs as $dir) {
                $dir = substr($dir, strrpos($dir, '/') + 1);
                if (preg_match('#^[A-Za-z]\w+$#', $dir)) {
                    $areas[] = $dir;
                }
            }
        }

        $this->_areas = $areas;

        return $this;
    }
1185956
public function setAddress2($v)
    {
        if ($v !== null) {
            $v = (string) $v;
        }

        if ($this->address2 !== $v) {
            $this->address2 = $v;
            $this->modifiedColumns[DealerTableMap::ADDRESS2] = true;
        }


        return $this;
    }
475130
private function ensurePlaceholders(array &$data)
    {
        //Let's force placeholders for every sub loaded
        foreach ($this->nodes as $name => $node) {
            $data[$name] = $node instanceof ArrayInterface ? [] : null;
        }
    }
1301055
public function createPlaceholder($value)
    {
        if (($key = array_search($value, $this->all()))) {
            $placeholder = $key;
        } else {
            $placeholder = $this->createUniquePlaceholder();
        }

        $value = $this->removeNestedPlaceholders($value);
        $this->items[$placeholder] = $value;

        return $placeholder;
    }
716035
public function setReplyToAddress(string $address, array $variables = []): self
    {
        $this->addRecipient('h:reply-to', $address, $variables);

        return $this;
    }
1171804
private function preparePlaceHolders(): void
  {
    $this->logVerbose('Prepare place holders.');

    foreach ($this->getResourcesInfo() as $file_info)
    {
      $this->replacePairs["'".$file_info['path_name_in_sources']."'"] = "'".$file_info['path_name_in_sources_with_hash']."'";
      $this->replacePairs['"'.$file_info['path_name_in_sources'].'"'] = '"'.$file_info['path_name_in_sources_with_hash'].'"';

      if (isset($file_info['path_name_in_sources_alternative']))
      {
        $this->replacePairs["'".$file_info['path_name_in_sources_alternative']."'"] = "'".$file_info['path_name_in_sources_with_hash']."'";
        $this->replacePairs['"'.$file_info['path_name_in_sources_alternative'].'"'] = '"'.$file_info['path_name_in_sources_with_hash'].'"';
      }
    }
  }