Nelmio\Alice\Generator\Resolver\Value\Chainable\EvaluatedValueResolver::replacePlaceholders PHP Method

replacePlaceholders() private method

Replaces references to another fixtures, e.g. "@another_dummy" by the variable of the scope "$_instances['another_dummy']".
private replacePlaceholders ( string $expression ) : string
$expression string
return string
    private function replacePlaceholders(string $expression) : string
    {
        return preg_replace('/(@(?<id>[^\\ @\\-]+))/', '\\$_instances[\'$2\']', $expression);
    }