private function getAliasedUri($fileName, $alias)
    {
        if ($fileName === null) {
            return false;
        }

        if (!$this->isAlias($alias)) {
            return false;
        }

        // If we're passing in an image as array, instead of a single filename.
        $fileName = $this->normalizeFileName($fileName);

        return $this->urlGenerator->generate(
            'thumb_alias',
            [
                'alias'  => $alias,
                'file'   => $fileName,
            ]
        );
    }
private function getAliasedUri($fileName, $alias)
    {
        if ($fileName === null) {
            return false;
        }

        if (!$this->isAlias($alias)) {
            return false;
        }

        // If we're passing in an image as array, instead of a single filename.
        $fileName = $this->normalizeFileName($fileName);

        return $this->urlGenerator->generate(
            'thumb_alias',
            [
                'alias'  => $alias,
                'file'   => $fileName,
            ]
        );
    }
private function getAliasedUri ( $ fileName , $ alias ) { if ( $ fileName === null ) { return false ; } if ( ! $ this -> isAlias ( $ alias ) ) { return false ; } // If we're passing in an image as array, instead of a single filename. $ fileName = $ this -> normalizeFileName ( $ fileName ) ; return $ this -> urlGenerator -> generate ( 'thumb_alias' , [ 'alias' => $ alias , 'file' => $ fileName , ] ) ; }
Get the thumbnail relative URI, using an alias.

@param string|null $fileName
@param string      $alias

@return string
Get the thumbnail relative URI using an alias .