public function getKey(): string
    {
        if (null === $this->name) {
            return $this->type;
        }

        return $this->type . '#' . $this->name;
    }
public function getKey(): string
    {
        if (null === $this->name) {
            return $this->type;
        }

        return $this->type . '#' . $this->name;
    }
public function getKey ( ) : string { if ( null === $ this -> name ) { return $ this -> type ; } return $ this -> type . '#' . $ this -> name ; }
creates a unique key for this binding

@return  string
creates a unique key for this binding