private function parseShortcutNotation($shortcut)
    {
        $shortcut = str_replace('/', '\\', $shortcut);

        if (false === $pos = strpos($shortcut, ':')) {
            throw $this->getException(
                'The document name isn\'t valid ("%s" given, expecting something like AcmeBundle:Post)',
                [$shortcut]
            );
        }

        return [substr($shortcut, 0, $pos), substr($shortcut, $pos + 1)];
    }
private function parseShortcutNotation($shortcut)
    {
        $shortcut = str_replace('/', '\\', $shortcut);

        if (false === $pos = strpos($shortcut, ':')) {
            throw $this->getException(
                'The document name isn\'t valid ("%s" given, expecting something like AcmeBundle:Post)',
                [$shortcut]
            );
        }

        return [substr($shortcut, 0, $pos), substr($shortcut, $pos + 1)];
    }
private function parseShortcutNotation ( $ shortcut ) { $ shortcut = str_replace ( '/' , '\\' , $ shortcut ) ; if ( false === $ pos = strpos ( $ shortcut , ':' ) ) { throw $ this -> getException ( 'The document name isn\'t valid ("%s" given, expecting something like AcmeBundle:Post)' , [ $ shortcut ] ) ; } return [ substr ( $ shortcut , 0 , $ pos ) , substr ( $ shortcut , $ pos + 1 ) ] ; }
Parses shortcut notation

@param string $shortcut

@return string[]
@throws \InvalidArgumentException
Parses shortcut notation