Call the breadcrumb definition with the given parameters.

@param  string  $name
@param  array  $parameters
@return void
@throws \Watson\Breadcrumbs\DefinitionNotFoundException
513760
protected function call(string $name, array $parameters)
    {
        $definition = $this->registrar->get($name);

        $parameters = array_prepend(array_values($parameters), $this);

        call_user_func_array($definition, $parameters);
    }
1020851
public function bind($name,$params) 
    {

        $this->instances[$name] = $params;
        $this->bind[$name] = true;

    }
650609
private function bakeApiController(string $name) : void
    {
        $apiPaths = $this->getTargetApiPath();
        $this->pathFragment = $apiPaths['fragment'];

        $this->bake($name, 'Controller/Api/controller', array_merge(['name' => $name], $apiPaths), 'Controller');
    }
307042
private function bakeTable(string $name) : void
    {
        $this->pathFragment = 'Model/Table/';

        $this->bake($name, 'Model/table', ['name' => $name, 'table' => Inflector::underscore($name)], 'Table');
    }
1124428
public function callMacro(string $name, array $args)
    {
        if (isset($this->macros[$name])) {
            return call_user_func_array($this->macros[$name], $args);
        }
        throw new RuntimeException('There is no macro with the given name "'.$name.'" to call');
    }
357568
public function clickListElement(string $name): void
    {
        $this->context->getElementByText($name, $this->fields['listElement'])->click();
    }
680176
public function supportParameter($name)
    {
        if (in_array($name, QueryModifiers)) {
            throw new \DomainException("parameter $name not allowed");
        }
        $this->supportedParameters[$name] = $name;
        asort($this->supportedParameters);
    }
1116737
public static function url($name, $parameters = []) {
		return URequest::getUrl ( self::getRouteByName ( $name, $parameters, false ) );
	}
748529
public function route(string $name, ?array $parameters = [], ?int $code = null)
  {
    $this->url = Route::url($name, $parameters);

    if ($code !== null) {
      $this->code = $code;
      return $this->send();
    }

    return $this;
  }
2541
public function addParameter($name, $parameter)
  {
    if ($this->isLocked()) {
      return $this->getObj()->addParameter($name, $parameter)->setLocked();
    } else {
      return parent::addParameter($name, $parameter);
    }
  }
1368238
public function route($name, $parameters = [], $absolute = true)
    {
        if (! is_null($route = $this->routes->getByName($name))) {
            return $this->toRoute($route, $parameters, $absolute);
        }

        throw new InvalidArgumentException("Route [{$name}] not defined.");
    }
1092516
public function addPagecrumbLink($name, $url = '', $icon = '')
    {
        $this->pagecrumbItems->push((object) ['name' => $name, 'url' => $url, 'icon' => $icon]);
    }
1344776
protected function renderBlock($name, $parameters)
    {
        /** @var Twig_TemplateInterface $template */
        foreach ($this->getTemplates() as $template) {
            if ($template->hasBlock($name)) {

                $context = array_merge(
                    $template->getEnvironment()->getGlobals(),
                    $parameters
                );

                return $template->renderBlock($name, $context);
            }
        }

        throw new \InvalidArgumentException(sprintf('Block "%s" doesn\'t exist in grid template.', $name));
    }
790651
public function route($name, $parameters = [])
    {
        $path = $this->routes->getPath($name, $parameters);
        $path = ltrim($path, '/');

        return $this->baseUrl.'/'.$path;
    }
1016485
protected function callSoap($name, array $parameters)
    {
        $parameters = $this->mergeLoginParametersSoap($parameters);
        //Make the call
        $response = $this->getClient($name)->$name(
            array('parameters' => $parameters)
        );

        //Parse the response
        $response = (array)$response;
        $response = (array)current($response);
        if ($response['code'] > 0) {
            throw new Exception(
                "There was an error with the soap call $name" .
                PHP_EOL .
                $response['code'] .
                ' : ' .
                $response['description'] .
                PHP_EOL .
                'Date : ' .
                date('Y-m-d H:i:s') .
                PHP_EOL .
                'Parameters :' .
                PHP_EOL .
                print_r($parameters, true),
                $response['code']
            );
        } else {
            unset($response['code']);
            unset($response['description']);
        }

        return $response ?: true;
    }
511400
public function make($name, callable  $callable)
    {
        $breadcrumb = new Breadcrumb($callable);
        $breadcrumb->route($name);

        $this->collection->put($name, $breadcrumb);
    }
121525
public function callRoute($name, array $parameters = [], array $options = [])
    {
        try {
            $content = $this->router->dispatchRoute($name, $parameters, $options);
        } catch (\Exception $e) {
            return sprintf('<p style="display:block;boder:1px solid red;" class="error">%s</p>', $e->getMessage());
        }

        return is_string($content) ? $content : '';
    }