src/Driver/Handler.php
protected function identify($element): string
    {
        if (is_string($element)) {
            return $this->driver->identifier($element);
        }

        if (!$element instanceof ElementInterface && !$element instanceof AbstractTable) {
            throw new InvalidArgumentException("Invalid argument type");
        }

        return $this->driver->identifier($element->getName());
    }
protected function identify($element): string
    {
        if (is_string($element)) {
            return $this->driver->identifier($element);
        }

        if (!$element instanceof ElementInterface && !$element instanceof AbstractTable) {
            throw new InvalidArgumentException("Invalid argument type");
        }

        return $this->driver->identifier($element->getName());
    }
protected function identify ( $ element ) : string { if ( is_string ( $ element ) ) { return $ this -> driver -> identifier ( $ element ) ; } if ( ! $ element instanceof ElementInterface && ! $ element instanceof AbstractTable ) { throw new InvalidArgumentException ( "Invalid argument type" ) ; } return $ this -> driver -> identifier ( $ element -> getName ( ) ) ; }
Create element identifier.

@param ElementInterface|AbstractTable|string $element
@return string
Create element identifier .