Nette\Routing\Route::getTargets PHP Метод

getTargets() публичный Метод

Proprietary cache aim.
public getTargets ( $key ) : string[] | null
Результат string[] | null
    public function getTargets($key)
    {
        if ($this->flags & self::ONE_WAY) {
            return [];
        }
        $m = $this->metadata;
        if (isset($m[$key]['fixity']) && $m[$key]['fixity'] === self::CONSTANT) {
            return [$m[$key][self::VALUE]];
        }
        return NULL;
    }