Flow/ServiceRegistrator.php
public function prepareArguments(string $id, array $resolvingReferences)
    {
        if(!isset($this->serviceArguments[$id])) $this->serviceArguments[$id] = [];
        $this->serviceArguments[$id] = array_merge($this->serviceArguments[$id], $resolvingReferences);
    }
public function prepareArguments(string $id, array $resolvingReferences)
    {
        if(!isset($this->serviceArguments[$id])) $this->serviceArguments[$id] = [];
        $this->serviceArguments[$id] = array_merge($this->serviceArguments[$id], $resolvingReferences);
    }
public function prepareArguments ( string $ id , array $ resolvingReferences ) { if ( ! isset ( $ this -> serviceArguments [ $ id ] ) ) $ this -> serviceArguments [ $ id ] = [ ] ; $ this -> serviceArguments [ $ id ] = array_merge ( $ this -> serviceArguments [ $ id ] , $ resolvingReferences ) ; }
Add arguments to entity before register it
@param string $id
@param array $resolvingReferences
Add arguments to entity before register it