src/Viserio/Component/Routing/PendingResourceRegistration.php
public function setName(string $method, string $name): PendingResourceRegistrationContract
    {
        $this->options['names'][$method] = $name;

        return $this;
    }
public function setName(string $method, string $name): PendingResourceRegistrationContract
    {
        $this->options['names'][$method] = $name;

        return $this;
    }
{@inheritdoc}