Spanner/src/Database.php
public function identity()
    {
        $databaseParts = explode('/', $this->name);
        $instanceParts = explode('/', $this->instance->name());

        return [
            'projectId' => $this->projectId,
            'database' => end($databaseParts),
            'instance' => end($instanceParts),
        ];
    }
public function identity()
    {
        $databaseParts = explode('/', $this->name);
        $instanceParts = explode('/', $this->instance->name());

        return [
            'projectId' => $this->projectId,
            'database' => end($databaseParts),
            'instance' => end($instanceParts),
        ];
    }
public function identity ( ) { $ databaseParts = explode ( '/' , $ this -> name ) ; $ instanceParts = explode ( '/' , $ this -> instance -> name ( ) ) ; return [ 'projectId' => $ this -> projectId , 'database' => end ( $ databaseParts ) , 'instance' => end ( $ instanceParts ) , ] ; }
Retrieves the database's identity.

@access private
@return array
Retrieves the database s identity .