private function getBranchAliases(ApiPackage\Version $version)
    {
        $extra = $version->getExtra();
        if (null !== $extra
            && isset($extra["branch-alias"])
            && is_array($extra["branch-alias"])
        ) {
            return $extra["branch-alias"];
        }

        return null;
    }
private function getBranchAliases(ApiPackage\Version $version)
    {
        $extra = $version->getExtra();
        if (null !== $extra
            && isset($extra["branch-alias"])
            && is_array($extra["branch-alias"])
        ) {
            return $extra["branch-alias"];
        }

        return null;
    }
private function getBranchAliases ( ApiPackage \ Version $ version ) { $ extra = $ version -> getExtra ( ) ; if ( null !== $ extra && isset ( $ extra [ "branch-alias" ] ) && is_array ( $ extra [ "branch-alias" ] ) ) { return $ extra [ "branch-alias" ] ; } return null ; }
Get all the branch aliases.

@param ApiPackage\Version $version

@return null|array
Get all the branch aliases .